]> git.pld-linux.org Git - packages/chromium-browser.git/commitdiff
- remove_nonessential_dirs, list from src/tools/export_tarball/export_tarball.py
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 4 Dec 2011 17:57:23 +0000 (17:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    clean-source.sh -> 1.3

clean-source.sh

index cc3f622c31e3644db000ea33131086e7b25caeb6..6a35d6855da95bd9962988bbd3bb0384891b3074 100644 (file)
@@ -17,6 +17,50 @@ gyp_clean() {
        fi
 }
 
+# https://code.google.com/p/chromium/wiki/LinuxPackaging
+# list from src/tools/export_tarball/export_tarball.py
+remove_nonessential_dirs() {
+       local dir
+       for dir in \
+    chrome/common/extensions/docs \
+    chrome/test/data \
+    chrome/tools/test/reference_build \
+    courgette/testdata \
+    data \
+    native_client/src/trusted/service_runtime/testdata \
+    src/chrome/test/data \
+    o3d/documentation \
+    o3d/samples \
+    o3d/tests \
+    third_party/angle/samples/gles2_book \
+    third_party/hunspell_dictionaries \
+    third_party/hunspell/tests \
+    third_party/lighttpd \
+    third_party/sqlite/test \
+    third_party/vc_80 \
+    third_party/xdg-utils/tests \
+    third_party/yasm/source/patched-yasm/modules/arch/x86/tests \
+    third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/tests \
+    third_party/yasm/source/patched-yasm/modules/objfmts/bin/tests \
+    third_party/yasm/source/patched-yasm/modules/objfmts/coff/tests \
+    third_party/yasm/source/patched-yasm/modules/objfmts/elf/tests \
+    third_party/yasm/source/patched-yasm/modules/objfmts/macho/tests \
+    third_party/yasm/source/patched-yasm/modules/objfmts/rdf/tests \
+    third_party/yasm/source/patched-yasm/modules/objfmts/win32/tests \
+    third_party/yasm/source/patched-yasm/modules/objfmts/win64/tests \
+    third_party/yasm/source/patched-yasm/modules/objfmts/xdf/tests \
+    third_party/WebKit/Source/JavaScriptCore/tests \
+    third_party/WebKit/LayoutTests \
+    v8/test \
+    webkit/data/layout_tests \
+    webkit/tools/test/reference_build \
+       ; do
+               rm -vfr "$dir"
+       done
+}
+
+remove_nonessential_dirs | tee REMOVED-nonessential_dirs.txt
+
 rm -v third_party/expat/files/lib/expat.h
 
 gyp_clean third_party/bzip2
This page took 0.037348 seconds and 4 git commands to generate.