| Index: gn/echo_headers.py
|
| diff --git a/gn/echo_headers.py b/gn/echo_headers.py
|
| index 83938b3e2a1dfd1a5d7df5b74a8903bfddc0c8b3..059838a6ff2b636b04cda3d4d725a2ad18a782a5 100644
|
| --- a/gn/echo_headers.py
|
| +++ b/gn/echo_headers.py
|
| @@ -6,23 +6,11 @@
|
| # found in the LICENSE file.
|
|
|
| import sys
|
| -import os
|
| -import os.path
|
|
|
| -blacklist = [
|
| - 'GrGLConfig_chrome.h',
|
| - 'SkFontMgr_fontconfig.h',
|
| -]
|
| -
|
| -headers = []
|
| -for d in sys.argv[2:]:
|
| - headers.extend([f for f in os.listdir(d)
|
| - if os.path.isfile(os.path.join(d,f)) and f.endswith('.h')])
|
| with open(sys.argv[1], "w") as f:
|
| f.write('// skia.h generated by GN.\n')
|
| f.write('#ifndef skia_h_DEFINED\n')
|
| f.write('#define skia_h_DEFINED\n')
|
| - for h in headers:
|
| - if h not in blacklist:
|
| - f.write('#include "' + h + '"\n')
|
| + for h in sys.argv[2:]:
|
| + f.write('#include "' + h + '"\n')
|
| f.write('#endif//skia_h_DEFINED\n')
|
|
|