diff options
author | Alex Light <allight@google.com> | 2014-07-24 16:26:13 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2014-08-05 10:22:09 -0700 |
commit | ce090d3f4508cb9130ab700833ae51a7fff8b373 (patch) | |
tree | 32316f50e8479b33bb6cd66718e91c5d1aac033d /core/dex_preopt_libart.mk | |
parent | 430ec575cd40672aab8394c31c7e45294ee302e5 (diff) | |
download | build-ce090d3f4508cb9130ab700833ae51a7fff8b373.zip build-ce090d3f4508cb9130ab700833ae51a7fff8b373.tar.gz build-ce090d3f4508cb9130ab700833ae51a7fff8b373.tar.bz2 |
Make system use patchoat to relocate during runtime.
Change DexPreOpt to include patch information of all compiled files so
we can relocate at runtime.
Bug: 15358152
Change-Id: Ibe92d8b55a24bbf718b0416a21b76e5df7a2de26
Diffstat (limited to 'core/dex_preopt_libart.mk')
-rw-r--r-- | core/dex_preopt_libart.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/dex_preopt_libart.mk b/core/dex_preopt_libart.mk index 2d9c518..11b7406 100644 --- a/core/dex_preopt_libart.mk +++ b/core/dex_preopt_libart.mk @@ -90,5 +90,6 @@ $(hide) $(DEX2OATD) \ --oat-file=$(2) \ --android-root=$(PRODUCT_OUT)/system \ --instruction-set=$($(PRIVATE_2ND_ARCH_VAR_PREFIX)DEX2OAT_TARGET_ARCH) \ - --instruction-set-features=$($(PRIVATE_2ND_ARCH_VAR_PREFIX)DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES) + --instruction-set-features=$($(PRIVATE_2ND_ARCH_VAR_PREFIX)DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES) \ + --include-patch-information --runtime-arg -Xnorelocate endef |