packages: chromium-browser/clean-source.sh - remove_nonessential_dirs, list...

glen glen at pld-linux.org
Sun Dec 4 18:57:28 CET 2011


Author: glen                         Date: Sun Dec  4 17:57:28 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- remove_nonessential_dirs, list from src/tools/export_tarball/export_tarball.py

---- Files affected:
packages/chromium-browser:
   clean-source.sh (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/chromium-browser/clean-source.sh
diff -u packages/chromium-browser/clean-source.sh:1.2 packages/chromium-browser/clean-source.sh:1.3
--- packages/chromium-browser/clean-source.sh:1.2	Sun Dec  4 12:39:54 2011
+++ packages/chromium-browser/clean-source.sh	Sun Dec  4 18:57:23 2011
@@ -17,6 +17,50 @@
 	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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/chromium-browser/clean-source.sh?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list