summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-05-18 11:43:28 +0200
committerLuboš Luňák <l.lunak@collabora.com>2019-05-19 09:47:33 +0200
commit34ebd0af8152549c88b0b1fc2e02740de7ffcb77 (patch)
tree653947a1da37b504e230f930987e36bdc86fd3ac /bin
parent74790206e182031bcf01c628622e2b646f699530 (diff)
add PCH for pdfium
It's an external library, but it's a large C++ lib and it's built using gbuild, so this helps too. Here with Clang it cuts build time from ~2:40 to ~1:25 (and about halves the CPU user time). Hopefully it also helps to reduce the build time for Windows gerrit builds. Change-Id: Ieef0ea28e0fe1fd216592fca70410075d95ddc54 Reviewed-on: https://gerrit.libreoffice.org/72517 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update_pch4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/update_pch b/bin/update_pch
index 372867393c93..ab9ca868381e 100755
--- a/bin/update_pch
+++ b/bin/update_pch
@@ -423,6 +423,10 @@ def filter_ignore(line, module):
'xmlsec/*',
'xmlsecurity/xmlsec-wrapper.h',
]
+ if module == 'external/pdfium':
+ ignore_list += [
+ 'third_party/freetype/include/pstables.h',
+ ]
for i in ignore_list:
if line.startswith(i):