OSDN Git Service

Only compile device codegen for device architectures
authorColin Cross <ccross@android.com>
Thu, 18 Aug 2016 20:49:53 +0000 (13:49 -0700)
committerColin Cross <ccross@android.com>
Fri, 19 Aug 2016 17:48:20 +0000 (10:48 -0700)
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

index 1e2cfa3..c8e3654 100644 (file)
@@ -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)