[packages/chromium-browser/DEVEL] libxml can be cleaned in chromium subdir is kept

glen glen at pld-linux.org
Fri Jan 4 22:42:52 CET 2013


commit 300226803866aa962a3d9b1d40f1aef7bc539fa9
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jan 3 02:41:37 2013 +0200

    libxml can be cleaned in chromium subdir is kept

 chromium-browser.spec | 2 +-
 clean-source.sh       | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)
---
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 \
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list