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

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

Issue 2314753002: mac: remove libc++-static 10.6 compatibility hack (Closed)
Patch Set: remove libc++ check in verify_order Created 4 years, 3 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 | « third_party/libc++-static/README.chromium ('k') | third_party/libc++-static/libc++.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
deleted file mode 100755
index d79054d08d515f0335c87f49bd785cd70a210068..0000000000000000000000000000000000000000
--- a/third_party/libc++-static/build.sh
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/bash
-# Copyright 2015 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-set -eux
-
-REV=245965
-DIR=$(mktemp -d -t libcpp)
-
-THIS_DIR="${PWD}/$(dirname "${0}")"
-
-# TODO(thakis): Figure out why our clang complains about visibility and
-# redeclarations.
-#CXX="$THIS_DIR/../llvm-build/Release+Asserts/bin/clang++"
-CXX=c++
-
-
-FLAGS="-nostdinc++ -O3 -std=c++11 -fstrict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.6 -arch i386 -arch x86_64 -isysroot $(xcrun -show-sdk-path)"
-
-pushd "${DIR}"
-
-svn co --force https://llvm.org/svn/llvm-project/libcxx/trunk@$REV libcxx
-svn co --force https://llvm.org/svn/llvm-project/libcxxabi/trunk@$REV libcxxabi
-
-mkdir libcxxbuild
-cd libcxxbuild
-
-mkdir libcxx
-pushd libcxx
-sed -i '' 's/"default"/"hidden"/g' ../../libcxx/include/__config
-"$CXX" -c -I../../libcxx/include/ ../../libcxx/src/*.cpp $FLAGS
-popd
-
-mkdir libcxxabi
-pushd libcxxabi
-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++.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++.a libcxx*/*.o
-
-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 | « third_party/libc++-static/README.chromium ('k') | third_party/libc++-static/libc++.a.sha1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698