Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1522)

Unified Diff: third_party/libc++-static/build.sh

Issue 1413863003: mac: In static library builds, link against a static libc++.a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: haaaaack Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/tools/build/mac/verify_order ('k') | third_party/libc++-static/libc++-static.a.sha1 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libc++-static/build.sh
diff --git a/third_party/libc++-static/build.sh b/third_party/libc++-static/build.sh
index 96d490cc938440230bad2f8a47b6355cb09e733c..d79054d08d515f0335c87f49bd785cd70a210068 100755
--- a/third_party/libc++-static/build.sh
+++ b/third_party/libc++-static/build.sh
@@ -38,16 +38,16 @@ sed -i '' 's/"default"/"hidden"/g' ../../libcxxabi/src/*
sed -i '' 's/push(default)/push(hidden)/g' ../../libcxxabi/src/*
# Let the default handler not depend on __cxa_demangle, this saves 0.5MB binary
-# size in each binary linking against libc++-static.a
+# size in each binary linking against libc++.a
patch -d ../../libcxxabi -p0 < "${THIS_DIR}/libcxxabi.patch"
"$CXX" -c -I../../libcxx/include/ -I../../libcxxabi/include ../../libcxxabi/src/*.cpp $FLAGS
popd
-libtool -static -o libc++-static.a libcxx*/*.o
+libtool -static -o libc++.a libcxx*/*.o
-cp libc++-static.a "${THIS_DIR}"
-upload_to_google_storage.py -b chromium-libcpp "${THIS_DIR}/libc++-static.a"
+cp libc++.a "${THIS_DIR}/libc++.a"
+upload_to_google_storage.py -b chromium-libcpp "${THIS_DIR}/libc++.a"
popd
rm -rf "${DIR}"
« no previous file with comments | « chrome/tools/build/mac/verify_order ('k') | third_party/libc++-static/libc++-static.a.sha1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698