Multilib support for odex

If the VM is libart and DEXPREOPT is enabled,
- For a Java library and the boot image, we build for both 1st arch and
  2nd arch.
- For an app, we build for the multilib arch the module is targeted for.
The odex file will be in <arch_name>/<module_name>.odex inside the same
dir where the jar/apk file gets installed.
Nothing changed if it's built for libdvm.

Bug: 14694978
Change-Id: I45118a83758b41d52d6c9e38f93f0ba2775a6c74
This commit is contained in:
Ying Wang
2014-05-13 13:57:28 -07:00
committed by Brian Carlstrom
parent 3c8089cef8
commit b9aa5d43de
10 changed files with 178 additions and 93 deletions

View File

@@ -37,6 +37,3 @@ TARGET_PREFER_32_BIT_APPS := true
TARGET_SUPPORTS_32_BIT_APPS := true
TARGET_SUPPORTS_64_BIT_APPS := true
# Disable DEXPREOPT until we have multilib support (bug 14694978).
WITH_DEXPREOPT := false