blob: a12b274d6754c4e7d8b6d669abacfa59987e5604 [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001#!/usr/bin/env python
2
3# Copyright (c) 2014 Google Inc. All rights reserved.
4# Use of this source code is governed by a BSD-style license that can be
5# found in the LICENSE file.
6
7# mock, just outputs empty .h/.cpp files
8
9import os
10import sys
11
12if len(sys.argv) == 2:
13 basename, ext = os.path.splitext(sys.argv[1])
14 with open('%s.h' % basename, 'w') as f:
15 f.write('// %s.h\n' % basename)
16 with open('%s.cpp' % basename, 'w') as f:
17 f.write('// %s.cpp\n' % basename)