diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-10-13 10:55:02 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-10-14 11:07:30 +0200 |
commit | f5fa61e7f00733df3a064c297b4a31b182be05b6 (patch) | |
tree | 2b96fc83a889bda8820649adef0e8b6cb95b17ac /bin | |
parent | sw: deleteFieldmarkAt() should just call getFieldmarkAt() (diff) | |
download | core-f5fa61e7f00733df3a064c297b4a31b182be05b6.tar.gz core-f5fa61e7f00733df3a064c297b4a31b182be05b6.zip |
add PCHs for more external libs
I think this is all external libs where it makes sense for them
to have their own PCH and be worth it. Maybe some smaller externals
can also use the common system PCH, but unfortunately many externals
use all kinds of defines that affect system headers, which is
a problem for the common system PCH.
Change-Id: I2c589ac55d93728daf3b158df110722e5f055d45
Reviewed-on: https://gerrit.libreoffice.org/80728
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/update_pch | 10 | ||||
-rwxr-xr-x | bin/update_pch.sh | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/bin/update_pch b/bin/update_pch index 0fd06b5bdbd5..62ed9e773779 100755 --- a/bin/update_pch +++ b/bin/update_pch @@ -426,6 +426,16 @@ def filter_ignore(line, module): ignore_list += [ 'third_party/freetype/include/pstables.h', ] + if module == 'external/clucene': + ignore_list += [ + '_bufferedstream.h', + '_condition.h', + '_gunichartables.h', + '_threads.h', + 'error.h', + 'CLucene/LuceneThreads.h', + 'CLucene/config/_threads.h' + ] for i in ignore_list: if line.startswith(i): diff --git a/bin/update_pch.sh b/bin/update_pch.sh index bc7742ea952e..5299242b9d7c 100755 --- a/bin/update_pch.sh +++ b/bin/update_pch.sh @@ -42,7 +42,7 @@ for x in $headers; do fi else header=$x - local update_msg=`echo $header | sed -e s%$root/%%` + update_msg=`echo $header | sed -e s%$root/%%` module=`readlink -f $header | sed -e s%$root/%% -e s%/.*%%` if [ "$module" = "pch" ]; then continue # PCH's in pch/inc/pch/ are handled manually |