mac: remove libc++-static 10.6 compatibility hack

This hack is obsolete since the minimum supported Mac version is now 10.9.

This CL also removes the checked-in copy of libc++-static, and removes
it from DEPS.

BUG=

Review-Url: https://codereview.chromium.org/2314753002
Cr-Original-Commit-Position: refs/heads/master@{#418584}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9fe8c63c54c0a0c4fd420518962e462cc00f9f65
diff --git a/LICENSE.TXT b/LICENSE.TXT
deleted file mode 100644
index 53352e4..0000000
--- a/LICENSE.TXT
+++ /dev/null
@@ -1,76 +0,0 @@
-==============================================================================
-libc++ License
-==============================================================================
-
-The libc++ library is dual licensed under both the University of Illinois
-"BSD-Like" license and the MIT license.  As a user of this code you may choose
-to use it under either license.  As a contributor, you agree to allow your code
-to be used under both.
-
-Full text of the relevant licenses is included below.
-
-==============================================================================
-
-University of Illinois/NCSA
-Open Source License
-
-Copyright (c) 2009-2015 by the contributors listed in CREDITS.TXT
-
-All rights reserved.
-
-Developed by:
-
-    LLVM Team
-
-    University of Illinois at Urbana-Champaign
-
-    http://llvm.org
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal with
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-    * Redistributions of source code must retain the above copyright notice,
-      this list of conditions and the following disclaimers.
-
-    * Redistributions in binary form must reproduce the above copyright notice,
-      this list of conditions and the following disclaimers in the
-      documentation and/or other materials provided with the distribution.
-
-    * Neither the names of the LLVM Team, University of Illinois at
-      Urbana-Champaign, nor the names of its contributors may be used to
-      endorse or promote products derived from this Software without specific
-      prior written permission.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
-CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
-SOFTWARE.
-
-==============================================================================
-
-Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/README.chromium b/README.chromium
deleted file mode 100644
index fa767ce..0000000
--- a/README.chromium
+++ /dev/null
@@ -1,29 +0,0 @@
-Name: libcxx
-Short Name: libc++
-Security Critical: Yes
-License: MIT
-License File: LICENSE.TXT
-Version: 0
-Revision: 245965
-URL: http://libcxx.llvm.org/
-
-To upload (run automatically by build.sh):
-  upload_to_google_storage.py -b chromium-libcpp third_party/libc++-static/libc++.a
-
-To initialize gsutil's credentials:
-  python ~/depot_tools/third_party/gsutil/gsutil config
-
-  That will give a URL which you should log into with your web browser. The
-  username should be the one that is on the ACL for the "chromium-libcpp"
-  bucket (probably your @google.com address). Contact the build team for help
-  getting access if necessary.
-
-  Copy the code back to the command line util. Ignore the project ID (it's OK
-  to just leave blank when prompted).
-
-gsutil documentation:
-  https://developers.google.com/storage/docs/gsutil
-
-
-To build: Run `third_party/libc++-static/build.sh`.  It'll upload to google
-storage and update the .sha1 file.
diff --git a/build.sh b/build.sh
deleted file mode 100755
index d79054d..0000000
--- a/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}"
diff --git a/libc++.a.sha1 b/libc++.a.sha1
deleted file mode 100644
index 06a3493..0000000
--- a/libc++.a.sha1
+++ /dev/null
@@ -1 +0,0 @@
-c1f2875483dd79ca3e0fe514014c3ea52d9f2b14
\ No newline at end of file
diff --git a/libcxxabi.patch b/libcxxabi.patch
deleted file mode 100644
index dfdf766..0000000
--- a/libcxxabi.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/cxa_default_handlers.cpp    (revision 245965)
-+++ src/cxa_default_handlers.cpp    (working copy)
-@@ -46,13 +46,7 @@
-                         exception_header + 1;
-                 const __shim_type_info* thrown_type =
-                     static_cast<const __shim_type_info*>(exception_header->exceptionType);
--                // Try to get demangled name of thrown_type
--                int status;
--                char buf[1024];
--                size_t len = sizeof(buf);
--                const char* name = __cxa_demangle(thrown_type->name(), buf, &len, &status);
--                if (status != 0)
--                    name = thrown_type->name();
-+                const char* name = thrown_type->name();
-                 // If the uncaught exception can be caught with std::exception&
-                 const __shim_type_info* catch_type =
- 				 static_cast<const __shim_type_info*>(&typeid(std::exception));