Commit dc6ff4ef authored by Tom Anderson's avatar Tom Anderson Committed by Commit Bot

Android: Enable in-tree libc++ builds

BUG=767901
R=thakis
CC=pcc

Change-Id: Ib394126f8e729192ee41520eefd85e22531bfd65
Reviewed-on: https://chromium-review.googlesource.com/1066596
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#561361}
parent e46dbb1f
...@@ -115,7 +115,6 @@ config("runtime_library") { ...@@ -115,7 +115,6 @@ config("runtime_library") {
# caution. # caution.
cflags_cc = [] cflags_cc = []
if (!use_custom_libcxx) { if (!use_custom_libcxx) {
cflags_cc = []
if (android_ndk_major_version >= 13) { if (android_ndk_major_version >= 13) {
libcxx_include_path = libcxx_include_path =
rebase_path("$android_libcpp_root/include", root_build_dir) rebase_path("$android_libcpp_root/include", root_build_dir)
......
...@@ -11,7 +11,7 @@ declare_args() { ...@@ -11,7 +11,7 @@ declare_args() {
# Don't check in changes that set this to false for more platforms; doing so # Don't check in changes that set this to false for more platforms; doing so
# is not supported. # is not supported.
use_custom_libcxx = use_custom_libcxx =
is_msan || is_fuchsia || is_msan || is_fuchsia || is_android ||
(is_linux && (is_linux &&
(!is_chromeos || default_toolchain != "//build/toolchain/cros:target")) (!is_chromeos || default_toolchain != "//build/toolchain/cros:target"))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment