[packages/chromium-browser: 8/10] update cleaned up files rules

glen glen at pld-linux.org
Sun Nov 17 14:28:05 CET 2013


commit 1e3611646b1b99d8e45956562ca24ffe726997bd
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 17 13:47:56 2013 +0200

    update cleaned up files rules

 clean-source.sh | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/clean-source.sh b/clean-source.sh
index 03f0ed9..eb58cdd 100755
--- a/clean-source.sh
+++ b/clean-source.sh
@@ -21,14 +21,17 @@ eval "$@"
 # suffix with _ those that we can't remove (just yet) because of the gclient
 # hooks (see build/all.gyp) or of some unneeded deps/includes
 remove_nonessential_dirs() {
-	# need to keep remoting/host/continue_window_mac.mm
 	find -type f '(' \
 		-name 'Android.mk' -o \
 		-name '*.vcproj' -o \
 		-name '*.sln' -o \
-		-name '*.mm_' -o \
+		-name '*.mm' -o \
 		-name '*.m' \
-	')' | xargs rm -vf
+	')' '!' -type d '(' \
+		'!' -path './remoting/host/continue_window_mac.mm' \
+		'!' -path './remoting/host/disconnect_window_mac.mm' \
+	')' \
+		-print -delete
 
 	find -regextype posix-extended \
 		-regex '.*_(win|cros|mac)_.*.xtb' \
@@ -866,7 +869,9 @@ remove_tests() {
 	for dir in \
 		chrome/browser/nacl_host/test \
 		chrome/test/data \
-		testing_ \
+		testing/gtest \
+		testing/gtest_ios \
+		testing/gmock \
 		third_party/webrtc/modules/audio_coding/codecs/cng/test \
 		third_party/webrtc/modules/audio_coding/codecs/g711/test \
 		third_party/webrtc/modules/audio_coding/codecs/g722/test \
@@ -904,6 +909,7 @@ remove_tests() {
 		-o -name '*_unittest' \
 		-o -name 'test_*.*' \
 		-o -name '*_test.*' \
+		-o -path './testing/' \
 	')' '!' -name '*.gyp*' \
 		'!' -name '*.isolate' \
 		'!' -name '*.grd' \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/719e6b64d8466b4731cda074d265a27ad7ec1012



More information about the pld-cvs-commit mailing list