commit ec8fc8f65add4e8dbd3e181208643dd67965bd49
Author: Elan Ruusamäe <[email protected]>
Date:   Thu Jan 3 23:30:51 2013 +0200

    cleanup testing/*; for gtest headers use system includes

 clean-source.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/clean-source.sh b/clean-source.sh
index 5138122..56dd018 100755
--- a/clean-source.sh
+++ b/clean-source.sh
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/4884fc995902450f6cd5512b71e22d5566e4448d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to