summaryrefslogtreecommitdiff
path: root/utils/internal/fake_includes.py
blob: 1ce69fa6b72d4f4ff6ca5e286f7e3fb63a76bba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import os.path

for cur_path, dirs, files in os.walk('.'):
    if cur_path == '.':
        for f in files:
            if f.endswith('.h'):
                print f
                fo = open(f, 'w')
                fo.write('#include "_fake_defines.h"\n')
                fo.write('#include "_fake_typedefs.h"\n')
                fo.close()