From ff46c7db90c433fa57ef6727f9d4692f28a090cc Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 18 Aug 2016 13:49:53 -0700 Subject: 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 --- build/Android.common_build.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-59-g8ed1b