summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2014-04-25 19:13:02 -0700
committerStephen Hines <srhines@google.com>2014-04-25 19:13:02 -0700
commit27ae7cb782821a4f2d3813522ee411cd978bcd85 (patch)
treec9ef44108bec00ec9e2018fecee25ca7b102e090
parentd513b7a16f5bb182fbe3cab05bfe68dddff948ff (diff)
downloadlibcxx_35a-27ae7cb782821a4f2d3813522ee411cd978bcd85.tar.gz
Don't build libc++ for unbundled projects.
It is preinstalled from prebuilts/sdk instead. Change-Id: Ie7a85f580538e6a6730949e31b36f021ec492ba4
-rw-r--r--Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 67a5959a..68050770 100644
--- a/Android.mk
+++ b/Android.mk
@@ -14,6 +14,9 @@
# limitations under the License.
#
+# Don't build for unbundled branches
+ifeq (,$(TARGET_BUILD_APPS))
+
# libcxx isn't working on mips yet
ifneq ($(TARGET_ARCH),$(filter $(TARGET_ARCH), mips mips64))
LOCAL_PATH := $(call my-dir)
@@ -87,3 +90,5 @@ endif
LOCAL_SHARED_LIBRARIES := libcxxabi
include $(BUILD_HOST_SHARED_LIBRARY)
endif
+
+endif # TARGET_BUILD_APPS