summaryrefslogtreecommitdiff
path: root/utils/internal/fake_includes.py
blob: 0e91644d76eb7e3a490a66067b5ff2bccf368c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from __future__ import print_function
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()