summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-10-12 16:32:21 +0200
committerLuboš Luňák <l.lunak@collabora.com>2019-11-27 09:55:05 +0100
commitceec41680fe1b06b778c3a73af21434f3b9496d4 (patch)
treee76cdced824f7c922eee1b5b4a164f176c876bb8 /bin
parentf802eab41b59f3395bc43d6147f4b4534607fb61 (diff)
add PCH to Skia
Change-Id: I0aa96bec7319010ff4749e3ab5c0ceef3dc55766
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update_pch16
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: