]> git.pld-linux.org Git - packages/chromium-browser.git/commitdiff
cleanup testing/*; for gtest headers use system includes
authorElan Ruusamäe <glen@delfi.ee>
Thu, 3 Jan 2013 21:30:51 +0000 (23:30 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 3 Jan 2013 21:30:51 +0000 (23:30 +0200)
clean-source.sh

index 51381227f5b1a8f26c18f46f7e70fe17e7cf22cf..56dd018cadd03579cb3c25156c0f7bf5d1dd30af 100755 (executable)
@@ -176,7 +176,6 @@ remove_nonessential_dirs() {
        sync/internal_api/public/test \
        sync/internal_api/test \
        sync/test \
-       testing \
        testing/android \
        testing/gmock/scripts/test \
        testing/gmock/test \
@@ -483,6 +482,7 @@ almost_strip_dirs() {
                breakpad \
                chrome/test/data \
                courgette \
+               testing \
                third_party/cros_dbus_cplusplus \
                ; do
                find $dir -depth -mindepth 1 \! \( -name '*.gyp' -o -name '*.gypi' \) -print -delete || :
@@ -503,9 +503,9 @@ almost_strip_dirs() {
                '!' -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
+       # link headers from system dir. too many files to patch, we don't even build tests
+       install -d testing/gtest/include
+       ln -s /usr/include/gtest testing/gtest/include/gtest
 }
 
 # clean third party
This page took 0.035001 seconds and 4 git commands to generate.