diff options
Diffstat (limited to 'bin/update_pch')
-rwxr-xr-x | bin/update_pch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/update_pch b/bin/update_pch index 6112fc654555..31fcadae763d 100755 --- a/bin/update_pch +++ b/bin/update_pch @@ -298,6 +298,12 @@ class Filter_Local(object): def proc(self, line): assert line and len(line) + + if line[0] == '#': + if not SILENT: + sys.stderr.write('unhandled #include : {}\n'.format(line)) + return '' + assert line[0] != '<' and line[0] != '#' filename = get_filename(line) @@ -436,6 +442,16 @@ def filter_ignore(line, module): 'error.h', 'CLucene/LuceneThreads.h', 'CLucene/config/_threads.h' + if module == 'external/skia': + ignore_list += [ + 'skcms_internal.h', + 'zlib.h', # causes crc32 conflict + 'dirent.h', # unix-specific + 'pthread.h', + 'unistd.h', + 'ft2build.h', + 'fontconfig/fontconfig.h', + 'GL/glx.h' ] for i in ignore_list: |