summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2016-08-18 13:49:53 -0700
committer Colin Cross <ccross@android.com> 2016-08-19 10:48:20 -0700
commitff46c7db90c433fa57ef6727f9d4692f28a090cc (patch)
treef4c79a82b8c83e2daf1c5d0ff9456ae21a72082b
parenta75b01a549f0c86669dd24e53c9e3e74f0bf5b40 (diff)
Only compile device codegen for device architectures
Change the default for ART_TARGET_CODEGEN_ARCHS to svelte, so that only the architectures used on the device are included in the device libraries. Tests: m -j test-art-target Bug: 30928847 Change-Id: I95c8a77a5520a1030abcd45e8bb6f56bc8fc7814
-rw-r--r--build/Android.common_build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Android.common_build.mk b/build/Android.common_build.mk
index 1e2cfa3e97..c8e3654633 100644
--- a/build/Android.common_build.mk
+++ b/build/Android.common_build.mk
@@ -152,7 +152,7 @@ art_cflags += \
# The architectures the compiled tools are able to run on. Setting this to 'all' will cause all
# architectures to be included.
-ART_TARGET_CODEGEN_ARCHS ?= all
+ART_TARGET_CODEGEN_ARCHS ?= svelte
ART_HOST_CODEGEN_ARCHS ?= all
ifeq ($(ART_TARGET_CODEGEN_ARCHS),all)