From: Elan Ruusamäe Date: Thu, 3 Jan 2013 00:41:37 +0000 (+0200) Subject: libxml can be cleaned in chromium subdir is kept X-Git-Tag: auto/th/chromium-browser-24.0.1312.52-1~2^2~49 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=300226803866aa962a3d9b1d40f1aef7bc539fa9;p=packages%2Fchromium-browser.git libxml can be cleaned in chromium subdir is kept --- diff --git a/chromium-browser.spec b/chromium-browser.spec index ca29c40..2e82028 100644 --- a/chromium-browser.spec +++ b/chromium-browser.spec @@ -290,7 +290,7 @@ cat > chrome/test/data/nacl/nacl_test_data.gyp <<-EOF } EOF -sh -x clean-source.sh %{!?with_system_v8:v8=0} %{!?with_nacl:nacl=0} libxml=0 %{!?with_system_zlib:zlib=0} +sh -x clean-source.sh %{!?with_system_v8:v8=0} %{!?with_nacl:nacl=0} %{!?with_system_zlib:zlib=0} rm -rf native_client/toolchain/linux_x86_newlib diff --git a/clean-source.sh b/clean-source.sh index 0937baa..1a88ef7 100755 --- a/clean-source.sh +++ b/clean-source.sh @@ -452,6 +452,9 @@ almost_strip_dirs \ third_party/gles2_book \ | tee -a REMOVED-stripped.txt +# move around to keep third_party/libxml/chromium +mv third_party/libxml/chromium libxml-chromium + strip_system_dirs \ native_client/src/third_party_mod/jsoncpp \ third_party/bzip2 \ @@ -475,6 +478,9 @@ strip_system_dirs \ v8 \ | tee -a REMOVED-stripped.txt +install -d third_party/libxml +mv libxml-chromium third_party/libxml/chromium + gyp_clean \ third_party/yasm \