]> git.pld-linux.org Git - packages/chromium-browser.git/commitdiff
rm -rf third_party/gles2_book win8
authorElan Ruusamäe <glen@delfi.ee>
Thu, 3 Jan 2013 14:03:10 +0000 (16:03 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 3 Jan 2013 14:03:10 +0000 (16:03 +0200)
clean-source.sh

index 5722db79a4f2980db47a617235c8d31942cf8dfc..5d450f542573d8bb877a8d1471f314666c7189bb 100755 (executable)
@@ -293,6 +293,7 @@ remove_nonessential_dirs() {
        third_party/ffmpeg/chromium/include/win \
        third_party/ffmpeg/tests \
        third_party/fuzzymatch \
+       third_party/gles2_book \
        third_party/gles_book_examples \
        third_party/gold \
        third_party/harfbuzz/tests \
@@ -425,11 +426,24 @@ remove_nonessential_dirs() {
        webkit/plugins/npapi/test \
        webkit/tools/test/reference_build \
        webkit/tools/test_shell/mac \
+       win8 \
        ; do
                rm -vfr "$dir"
        done
 }
 
+# There are directories we want to strip, but that are unnecessarily required by the build-system
+# So we drop everything but the gyp/gypi files
+almost_strip_dirs() {
+       local dir
+       for dir in \
+               chrome/test/data \
+               courgette \
+               ; do
+               find $dir -depth -mindepth 1 \! \( -name '*.gyp' -o -name '*.gypi' \) -print -delete || :
+       done
+}
+
 # clean third party
 # list based from archlinux PKGBUILD
 # https://aur.archlinux.org/packages/ch/chromium-dev/PKGBUILD
@@ -530,24 +544,9 @@ strip_system_dirs() {
        done
 }
 
-# There are directories we want to strip, but that are unnecessarily required by the build-system
-# So we drop everything but the gyp/gypi files
-almost_strip_dirs() {
-       local dir
-       for dir in "$@"; do
-               find $dir -depth -mindepth 1 \! \( -name '*.gyp' -o -name '*.gypi' \) -print -delete || :
-       done
-}
-
 remove_nonessential_dirs | tee -a REMOVED-nonessential_dirs.txt
 remove_bin_only | tee -a REMOVED-bin_only.txt
-
-almost_strip_dirs \
-       chrome/test/data \
-       courgette \
-       third_party/gles2_book \
-       win8 \
-| tee -a REMOVED-stripped.txt
+almost_strip_dirs | tee -a REMOVED-stripped.txt
 
 strip_system_dirs \
        native_client/src/third_party_mod/jsoncpp \
This page took 0.119105 seconds and 4 git commands to generate.