]> git.pld-linux.org Git - packages/chromium-browser.git/blobdiff - clean-source.sh
- pl
[packages/chromium-browser.git] / clean-source.sh
index 218a4a2f0830af1c48aa1cba10cdb7f79fe2c88c..6f9b68d885df8d14c24f2dcdb2ac684b2794020d 100755 (executable)
@@ -506,6 +506,7 @@ remove_nonessential_dirs() {
                '!' -path 'native_client/src/include/win/mman.h' \
                '!' -path 'native_client/src/trusted/service_runtime/win/debug_exception_handler.h' \
                '!' -path 'native_client/src/trusted/service_runtime/win/exception_patch/ntdll_patch.h' \
+               '!' -path 'net/tools/dafsa/*' \
                '!' -path 'net/tools/tld_cleanup/*' \
                '!' -path 'remoting/tools/build/*' \
                '!' -path 'remoting/tools/verify_resources.py' \
@@ -514,6 +515,7 @@ remove_nonessential_dirs() {
                '!' -path 'third_party/cld/encodings/compact_lang_det/win/cld_*.cc' \
                '!' -path 'third_party/cld/encodings/compact_lang_det/win/cld_*.h' \
                '!' -path 'third_party/cros_system_api/dbus/*.proto' \
+               '!' -path 'third_party/cros_system_api/dbus/*/dbus-constants.h' \
                '!' -path 'third_party/cros_system_api/dbus/service_constants.h' \
                '!' -path 'third_party/sfntly/cpp/src/sample/chromium/*' \
                '!' -path 'third_party/tcmalloc/chromium/*' \
@@ -545,6 +547,7 @@ almost_strip_dirs() {
        find tools -type f \
                '!' -iname '*.gyp*' \
                '!' -path 'tools/build/*' \
+               '!' -path 'tools/battor_agent/*' \
                '!' -path 'tools/clang/scripts/plugin_flags.sh' \
                '!' -path 'tools/compile_test/compile_test.py' \
                '!' -path 'tools/generate_library_loader/*' \
@@ -561,6 +564,7 @@ almost_strip_dirs() {
                '!' -path 'tools/protoc_wrapper/*' \
                '!' -path 'tools/usb_ids/*' \
                '!' -path 'tools/uuidgen.py' \
+               '!' -path 'tools/variations/*' \
                '!' -path 'tools/zip2msi.py' \
                -print -delete
 }
@@ -606,20 +610,27 @@ clean_third_party() {
                '!' -path 'third_party/angle/src/compiler/*' \
                '!' -path 'third_party/angle/src/enumerate_files.py' \
                '!' -path 'third_party/angle/src/third_party/compiler/*' \
+               '!' -path 'third_party/angle/src/third_party/murmurhash/*' \
+               '!' -path 'third_party/angle/src/third_party/trace_event/*' \
+               '!' -path 'third_party/boringssl/*' \
                '!' -path 'third_party/brotli/*' \
                '!' -path 'third_party/cacheinvalidation/*' \
+               '!' -path 'third_party/catapult/*' \
                '!' -path 'third_party/cld/*' \
                '!' -path 'third_party/cld_2/*' \
                '!' -path 'third_party/cros_system_api/*' \
                '!' -path 'third_party/cython/python_flags.py' \
+               '!' -path 'third_party/devscripts/*' \
                '!' -path 'third_party/dom_distiller_js/*' \
                '!' -path 'third_party/ffmpeg/*' \
                '!' -path 'third_party/fips181/*' \
                '!' -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/*' \
@@ -629,9 +640,11 @@ clean_third_party() {
                '!' -path 'third_party/libaddressinput/*' \
                '!' -path 'third_party/libjingle/*' \
                '!' -path 'third_party/libphonenumber/*' \
+               '!' -path 'third_party/libsecret/*' \
+               '!' -path 'third_party/libsrtp/*' \
                '!' -path 'third_party/libusb/*' \
                '!' -path 'third_party/libva/*' \
-               '!' -path 'third_party/libvpx/*' \
+               '!' -path 'third_party/libvpx_new/*' \
                '!' -path 'third_party/libwebm/*' \
                '!' -path 'third_party/libwebp/*' \
                '!' -path 'third_party/libxml/chromium/*' \
@@ -648,6 +661,7 @@ clean_third_party() {
                '!' -path 'third_party/mojo/*' \
                '!' -path 'third_party/mt19937ar/*' \
                '!' -path 'third_party/npapi/*' \
+               '!' -path 'third_party/openh264/*' \
                '!' -path 'third_party/openmax_dl/*' \
                '!' -path 'third_party/ots/*' \
                '!' -path 'third_party/pdfium/*' \
@@ -666,14 +680,14 @@ clean_third_party() {
                '!' -path 'third_party/sqlite/sqlite3.h' \
                '!' -path 'third_party/sqlite/src/ext/*' \
                '!' -path 'third_party/tcmalloc/*' \
-               '!' -path 'third_party/trace-viewer/*' \
-               '!' -path 'third_party/undoview/*' \
                '!' -path 'third_party/usrsctp/*' \
-               '!' -path 'third_party/web-animations-js/*' \
                '!' -path 'third_party/v8-i18n/*' \
                '!' -path 'third_party/v8/*' \
+               '!' -path 'third_party/web-animations-js/*' \
                '!' -path 'third_party/webrtc/*' \
+               '!' -path 'third_party/webrtc_overrides/*' \
                '!' -path 'third_party/widevine/*' \
+               '!' -path 'third_party/woff2/*' \
                '!' -path 'third_party/x86inc/*' \
                '!' -path 'third_party/zlib/google/*' \
                '!' -path 'third_party/zlib/zlib.h' \
@@ -934,7 +948,7 @@ remove_tests() {
        echo '> partial remove (keep .gyp)'
        for dir in \
                chrome/browser/nacl_host/test \
-               chrome/test/data \
+               chrome/test/data_ \
                testing/gtest_ \
                testing/gtest_ios \
                testing/gmock_ \
@@ -1025,6 +1039,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.*' \
@@ -1057,8 +1073,9 @@ remove_bundled_libraries() {
                third_party/adobe/flash/flapper_version.h \
                third_party/jinja2 \
                third_party/markupsafe/ \
-               third_party/ply \
-               third_party/fips181 \
+               third_party/ply/ \
+               third_party/catapult/third_party/beautifulsoup4 \
+               third_party/ffmpeg \
                'base/third_party/dmg_fp' \
                'base/third_party/dynamic_annotations' \
                'base/third_party/icu' \
@@ -1078,14 +1095,25 @@ remove_bundled_libraries() {
                'third_party/analytics' \
                'third_party/angle' \
                'third_party/angle/src/third_party/compiler' \
+               'third_party/angle/src/third_party/murmurhash' \
+               'third_party/angle/src/third_party/trace_event' \
+               'third_party/boringssl' \
                'third_party/brotli' \
                'third_party/cacheinvalidation' \
+               'third_party/catapult' \
+               'third_party/catapult/third_party/py_vulcanize' \
+               'third_party/catapult/third_party/py_vulcanize/third_party/rcssmin' \
+               'third_party/catapult/third_party/py_vulcanize/third_party/rjsmin' \
+               'third_party/catapult/tracing/third_party/components/polymer' \
+               'third_party/catapult/tracing/third_party/d3' \
+               'third_party/catapult/tracing/third_party/gl-matrix' \
+               'third_party/catapult/tracing/third_party/jszip' \
                'third_party/cld_2' \
                'third_party/cros_system_api' \
                'third_party/cython/python_flags.py' \
+               'third_party/devscripts' \
                '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' \
                'third_party/google_input_tools' \
@@ -1093,61 +1121,61 @@ 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' \
+               'third_party/libXNVCtrl' \
                'third_party/libaddressinput' \
                'third_party/libjingle' \
                'third_party/libphonenumber' \
+               'third_party/libsecret' \
                'third_party/libsrtp' \
                'third_party/libudev' \
                'third_party/libusb' \
-               'third_party/libvpx' \
-               'third_party/libvpx/source/libvpx/third_party/x86inc' \
+               'third_party/libvpx_new' \
+               'third_party/libvpx_new/source/libvpx/third_party/x86inc' \
                'third_party/libxml/chromium' \
-               'third_party/libXNVCtrl' \
+               'third_party/libwebm' \
                'third_party/libyuv' \
                'third_party/lss' \
                'third_party/lzma_sdk' \
                'third_party/mesa' \
                'third_party/modp_b64' \
-               'third_party/mojo' \
                'third_party/mt19937ar' \
                'third_party/npapi' \
+               'third_party/openh264' \
                'third_party/openmax_dl' \
                'third_party/opus' \
                'third_party/ots' \
                'third_party/pdfium' \
+               'third_party/pdfium/third_party/agg23' \
                'third_party/pdfium/third_party/base' \
                'third_party/pdfium/third_party/bigint' \
                'third_party/pdfium/third_party/freetype' \
+               'third_party/pdfium/third_party/lcms2-2.6' \
+               'third_party/pdfium/third_party/libjpeg' \
+               'third_party/pdfium/third_party/libopenjpeg20' \
+               'third_party/pdfium/third_party/zlib_v128' \
                'third_party/polymer' \
                'third_party/protobuf' \
                'third_party/qcms' \
-               'third_party/readability' \
+               'third_party/re2' \
                'third_party/sfntly' \
                'third_party/skia' \
                'third_party/smhasher' \
                'third_party/sqlite' \
                'third_party/tcmalloc' \
-               'third_party/trace-viewer' \
-               'third_party/trace-viewer/third_party/components/polymer' \
-               'third_party/trace-viewer/third_party/d3' \
-               'third_party/trace-viewer/third_party/gl-matrix' \
-               '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/undoview' \
                'third_party/usrsctp' \
                'third_party/web-animations-js' \
                'third_party/webdriver' \
                'third_party/webrtc' \
                'third_party/widevine' \
+               'third_party/woff2' \
                'third_party/x86inc' \
                'third_party/zlib/google' \
                'url/third_party/mozilla' \
                'v8/src/third_party/fdlibm' \
-               'v8/src/third_party/kernel' \
                'v8/src/third_party/valgrind' \
                --do-print \
                --do-remove
@@ -1160,8 +1188,7 @@ clean_src_extra() {
                .landmines \
                chrome/browser/resources/pdf/html_office \
                third_party/WebKit/ManualTests \
-               third_party/WebKit/PerformanceTests \
-               third_party/brotli
+               third_party/WebKit/PerformanceTests
 }
 
 remove_bundled_libraries > REMOVED-bundled_libraries.txt
@@ -1179,7 +1206,7 @@ strip_system_dirs \
        third_party/libjpeg \
        third_party/libmtp \
        third_party/libpng \
-       third_party/libsrtp \
+       third_party/libsrtp_ \
        third_party/libusb_ \
        third_party/libvpx_ \
        third_party/libwebp \
@@ -1229,7 +1256,7 @@ fi
 
 # report what's in them
 for a in REMOVED-*.txt; do
-       cat $a
+       sed -e "s/^/$a: /" $a
 done
 
 # vim:fdm=marker
This page took 0.176411 seconds and 4 git commands to generate.