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

Side by Side Diff: tools/clang/scripts/update.sh

Issue 951983002: Reland "Enable libc++ on Android" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix clang+mesa Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « tools/android/run_pie/run_pie.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This script will check out llvm and clang into third_party/llvm and build it. 6 # This script will check out llvm and clang into third_party/llvm and build it.
7 7
8 # Do NOT CHANGE this if you don't know what you're doing -- see 8 # Do NOT CHANGE this if you don't know what you're doing -- see
9 # https://code.google.com/p/chromium/wiki/UpdatingClang 9 # https://code.google.com/p/chromium/wiki/UpdatingClang
10 # Reverting problematic clang rolls is safe, though. 10 # Reverting problematic clang rolls is safe, though.
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 fi 658 fi
659 659
660 popd 660 popd
661 661
662 if [[ -n "${with_android}" ]]; then 662 if [[ -n "${with_android}" ]]; then
663 # Make a standalone Android toolchain. 663 # Make a standalone Android toolchain.
664 ${ANDROID_NDK_DIR}/build/tools/make-standalone-toolchain.sh \ 664 ${ANDROID_NDK_DIR}/build/tools/make-standalone-toolchain.sh \
665 --platform=android-14 \ 665 --platform=android-14 \
666 --install-dir="${LLVM_BUILD_DIR}/android-toolchain" \ 666 --install-dir="${LLVM_BUILD_DIR}/android-toolchain" \
667 --system=linux-x86_64 \ 667 --system=linux-x86_64 \
668 --stl=stlport \ 668 --stl=libcxx \
669 --toolchain=arm-linux-androideabi-4.9 669 --toolchain=arm-linux-androideabi-4.9
670 670
671 # Android NDK r9d copies a broken unwind.h into the toolchain, see 671 # Android NDK r9d copies a broken unwind.h into the toolchain, see
672 # http://crbug.com/357890 672 # http://crbug.com/357890
673 rm -v "${LLVM_BUILD_DIR}"/android-toolchain/include/c++/*/unwind.h 673 rm -v "${LLVM_BUILD_DIR}"/android-toolchain/include/c++/*/unwind.h
674 674
675 # Build ASan runtime for Android in a separate build tree. 675 # Build ASan runtime for Android in a separate build tree.
676 mkdir -p ${LLVM_BUILD_DIR}/android 676 mkdir -p ${LLVM_BUILD_DIR}/android
677 pushd ${LLVM_BUILD_DIR}/android 677 pushd ${LLVM_BUILD_DIR}/android
678 rm -fv CMakeCache.txt 678 rm -fv CMakeCache.txt
(...skipping 17 matching lines...) Expand all
696 696
697 if [[ -n "$run_tests" ]]; then 697 if [[ -n "$run_tests" ]]; then
698 # Run Chrome tool tests. 698 # Run Chrome tool tests.
699 ninja -C "${LLVM_BUILD_DIR}" cr-check-all 699 ninja -C "${LLVM_BUILD_DIR}" cr-check-all
700 # Run the LLVM and Clang tests. 700 # Run the LLVM and Clang tests.
701 ninja -C "${LLVM_BUILD_DIR}" check-all 701 ninja -C "${LLVM_BUILD_DIR}" check-all
702 fi 702 fi
703 703
704 # After everything is done, log success for this revision. 704 # After everything is done, log success for this revision.
705 echo "${PACKAGE_VERSION}" > "${STAMP_FILE}" 705 echo "${PACKAGE_VERSION}" > "${STAMP_FILE}"
OLDNEW
« no previous file with comments | « tools/android/run_pie/run_pie.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698