]> git.pld-linux.org Git - packages/chromium-browser.git/blobdiff - clean-source.sh
up to 44.0.2403.130
[packages/chromium-browser.git] / clean-source.sh
index b350da5e84cb26d97ae4e3d86fcee38452dfbf69..1e5576753635549c3cb4dc2d4de77c108c308637 100755 (executable)
@@ -49,7 +49,7 @@ remove_nonessential_dirs() {
        ash/shell/cocoa \
        ash/system/chromeos_ \
        base/android \
-       base/chromeos \
+       base/chromeos_ \
        base/ios \
        breakpad/src/client/mac \
        breakpad/src/common/android \
@@ -486,7 +486,7 @@ remove_nonessential_dirs() {
                '!' -path 'chrome/browser/chromeos/settings/device_settings_service.h' \
                '!' -path 'chrome/browser/chromeos/system_logs/*.h' \
                '!' -path 'chrome/tools/build/generate_policy_source.py' \
-               '!' -path 'chrome/tools/build/linux/sed.sh' \
+               '!' -path 'chrome/tools/build/linux/sed.py' \
                '!' -path 'chrome/tools/build/make_version_cc.py' \
                '!' -path 'chrome/tools/build/repack_locales.py' \
                '!' -path 'chrome/tools/build/version.py' \
@@ -618,8 +618,10 @@ clean_third_party() {
                '!' -path 'third_party/flot/*.js' \
                '!' -path 'third_party/google_input_tools/*' \
                '!' -path 'third_party/hunspell/*' \
+               '!' -path 'third_party/hunspell_new/*' \
                '!' -path 'third_party/hyphen/*' \
                '!' -path 'third_party/iccjpeg/*' \
+               '!' -path 'third_party/icu/*' \
                '!' -path 'third_party/icu/icu.isolate' \
                '!' -path 'third_party/jinja2/*' \
                '!' -path 'third_party/jstemplate/*' \
@@ -742,7 +744,7 @@ remove_tests() {
        breakpad/src/client/windows/tests \
        breakpad/src/common/linux/tests \
        breakpad/src/common/tests \
-       cc/test \
+       cc/test_ \
        chrome/browser/chromeos/bluetooth/test \
        chrome/browser/component_updater/test \
        chrome/browser/extensions/api/test_ \
@@ -1025,6 +1027,8 @@ remove_tests() {
                '!' -path './third_party/trace-viewer/third_party/tvcm/src/tvcm/unittest/test_case.js' \
                '!' -path './third_party/trace-viewer/third_party/tvcm/src/tvcm/unittest/test_error.js' \
                '!' -path './third_party/trace-viewer/third_party/tvcm/src/tvcm/unittest/test_runner.js' \
+               '!' -path './third_party/trace-viewer/third_party/tvcm/third_party/rcssmin/*' \
+               '!' -path './third_party/trace-viewer/third_party/tvcm/third_party/rjsmin/*' \
                '!' -path './third_party/trace-viewer/trace_viewer/tracing/test_utils.js' \
                '!' -path './mojo/embedder/test_embedder.*' \
                '!' -path './ui/base/hit_test.*' \
@@ -1084,7 +1088,7 @@ remove_bundled_libraries() {
                'third_party/cros_system_api' \
                'third_party/cython/python_flags.py' \
                'third_party/dom_distiller_js' \
-               'third_party/dom_distiller_js/package/proto_gen/third_party/dom_distiller_js' \
+               'third_party/dom_distiller_js/dist/proto_gen/third_party/dom_distiller_js' \
                'third_party/ffmpeg' \
                'third_party/fips181' \
                'third_party/flot' \
@@ -1093,6 +1097,7 @@ remove_bundled_libraries() {
                'third_party/google_input_tools/third_party/closure_library/third_party/closure' \
                'third_party/hunspell' \
                'third_party/iccjpeg' \
+               'third_party/icu' \
                'third_party/jstemplate' \
                'third_party/khronos' \
                'third_party/leveldatabase' \
@@ -1137,6 +1142,8 @@ remove_bundled_libraries() {
                'third_party/trace-viewer/third_party/jszip' \
                'third_party/trace-viewer/third_party/tvcm' \
                'third_party/trace-viewer/third_party/tvcm/third_party/beautifulsoup/polymer_soup.py' \
+               'third_party/trace-viewer/third_party/tvcm/third_party/rcssmin' \
+               'third_party/trace-viewer/third_party/tvcm/third_party/rjsmin' \
                'third_party/undoview' \
                'third_party/usrsctp' \
                'third_party/web-animations-js' \
@@ -1154,6 +1161,15 @@ remove_bundled_libraries() {
 }
 # }}}
 
+# clean extra files that are cleaned in tarball provided by google
+clean_src_extra() {
+       rm -rfv \
+               .landmines \
+               chrome/browser/resources/pdf/html_office \
+               third_party/WebKit/ManualTests \
+               third_party/WebKit/PerformanceTests
+}
+
 remove_bundled_libraries > REMOVED-bundled_libraries.txt
 
 strip_system_dirs \
@@ -1197,6 +1213,8 @@ fi
 
 clean_third_party > REMOVED-third_party.txt
 
+clean_src_extra > REMOVED-extra.txt
+
 if [ "${v8:-1}" != "0" ]; then
        # The implementation files include v8 headers with full path,
        # like #include "v8/include/v8.h". Make sure the system headers
This page took 0.034569 seconds and 4 git commands to generate.