From: Colin Cross Date: Thu, 18 Aug 2016 20:49:53 +0000 (-0700) Subject: Only compile device codegen for device architectures X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ff46c7db90c433fa57ef6727f9d4692f28a090cc;p=android-x86%2Fart.git 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 --- diff --git a/build/Android.common_build.mk b/build/Android.common_build.mk index 1e2cfa3e9..c8e365463 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)