[packages/chromium-browser/DEVEL] clean testing breakpad tools

glen glen at pld-linux.org
Fri Jan 4 22:44:18 CET 2013


commit bcc7de3af94d999e55c0b9aab170f8ba8385d060
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jan 3 22:45:43 2013 +0200

    clean testing breakpad tools

 clean-source.sh | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
---
diff --git a/clean-source.sh b/clean-source.sh
index a95459f..5138122 100755
--- a/clean-source.sh
+++ b/clean-source.sh
@@ -176,6 +176,7 @@ remove_nonessential_dirs() {
 	sync/internal_api/public/test \
 	sync/internal_api/test \
 	sync/test \
+	testing \
 	testing/android \
 	testing/gmock/scripts/test \
 	testing/gmock/test \
@@ -479,12 +480,32 @@ remove_nonessential_dirs() {
 almost_strip_dirs() {
 	local dir
 	for dir in \
+		breakpad \
 		chrome/test/data \
 		courgette \
 		third_party/cros_dbus_cplusplus \
 		; do
 		find $dir -depth -mindepth 1 \! \( -name '*.gyp' -o -name '*.gypi' \) -print -delete || :
 	done
+
+	find tools -type f \
+		'!' -iname '*.gyp*' \
+		'!' -path 'tools/build/*' \
+		'!' -path 'tools/clang/scripts/plugin_flags.sh' \
+		'!' -path 'tools/generate_stubs/*' \
+		'!' -path 'tools/grit/*' \
+		'!' -path 'tools/gritsettings/*' \
+		'!' -path 'tools/gyp/*' \
+		'!' -path 'tools/json_comment_eater.py' \
+		'!' -path 'tools/json_schema_compiler/*' \
+		'!' -path 'tools/protoc_wrapper/*' \
+		'!' -path 'tools/uuidgen.py' \
+		'!' -path 'tools/zip2msi.py' \
+		-print -delete
+
+	# clear testing, referred in too many files to patch
+	install -d testing/gtest/include/gtest
+	echo '' > testing/gtest/include/gtest/gtest.h
 }
 
 # clean third party
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/4884fc995902450f6cd5512b71e22d5566e4448d



More information about the pld-cvs-commit mailing list