]> git.pld-linux.org Git - packages/chromium-browser.git/blobdiff - clean-source.sh
up to stable 27.0.1453.93
[packages/chromium-browser.git] / clean-source.sh
index dd810c6670e9e5327b2883b2f50ab39b710f4b09..44828c91e92b7256e535cb61959ed43ec1b9f847 100755 (executable)
@@ -38,6 +38,7 @@ remove_nonessential_dirs() {
        v8/benchmarks \
        v8/src/arm \
        v8/src/d8* \
+       third_party/chromite \
        android_webview \
        ash/resources/default_100_percent/cros_ \
        ash/resources/default_200_percent/cros_ \
@@ -587,7 +588,9 @@ clean_third_party() {
                \! -path 'third_party/sfntly/*' \
                \! -path 'third_party/skia/*' \
                \! -path 'third_party/smhasher/*' \
-               \! -path 'third_party/sqlite/*' \
+               \! -path 'third_party/sqlite/amalgamation/*' \
+               \! -path 'third_party/sqlite/sqlite3.h' \
+               \! -path 'third_party/sqlite/src/ext/*' \
                \! -path 'third_party/tcmalloc/*' \
                \! -path 'third_party/trace-viewer/*' \
                \! -path 'third_party/undoview/*' \
@@ -933,11 +936,17 @@ strip_system_dirs \
        third_party/protobuf \
        third_party/re2 \
        third_party/speex \
+       third_party/sqlite \
        third_party/yasm \
        third_party/zlib \
        v8 \
 > REMOVED-system_dirs.txt
 
+if [ "${sqlite:-1}" = 1 ]; then
+       # some code does not pass -DUSE_SYSTEM_SQLITE properly
+       ln -sf /usr/include/sqlite3.h third_party/sqlite/sqlite3.h
+fi
+
 clean_third_party > REMOVED-third_party.txt
 
 if [ "${v8:-1}" != "0" ]; then
This page took 0.402796 seconds and 4 git commands to generate.