OSDN Git Service

HACK: force target art executables to be compiled for 32-bit
authorColin Cross <ccross@android.com>
Thu, 20 Mar 2014 19:55:13 +0000 (12:55 -0700)
committerColin Cross <ccross@android.com>
Thu, 20 Mar 2014 19:55:13 +0000 (12:55 -0700)
64-bit dex2oat doesn't support 32-bit targets yet, force all
art executables to compile 32-bit for now.

Change-Id: If69f0a45e55104a5e915a9c58afa9009aa68b71c

build/Android.executable.mk

index e8d48e4..ba54e04 100644 (file)
@@ -97,6 +97,8 @@ define build-art-executable
 
   ifeq ($$(art_target_or_host),target)
     LOCAL_MODULE_TARGET_ARCH := $(ART_SUPPORTED_ARCH)
+    #HACK: force 32-bit until 64-bit dex2oat can handle 32-bit
+    LOCAL_32_BIT_ONLY := true
   endif
 
   ifeq ($$(art_target_or_host),target)