summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorJeongik Cha <jeongik@google.com>2021-04-27 23:56:44 +0900
committerJeongik Cha <jeongik@google.com>2021-05-18 12:09:28 +0900
commit036f8f5e8d384e7007619401a2a10eeb34b95992 (patch)
treeee011d5b78a0afe39efd04d6e1583efb740ddfa3 /java/java.go
parent2ca5b08593e9fbc004c1e0938a6a50c6d0d33cb7 (diff)
Add usesTargetFiles option in dexpreopt_gen
For running dex2oat on the target_files, the paths should be use the device install path instead of the path starting with $(OUT). So add usesTargetFiles option and basePath option which indicates extracted path. With those options, the path is replaced with $(basePath)/$(device path) And also, add DexPreoptImageDeviceLocations in the config which refers to the boot image path(without arch) on the device. Because DexPreoptImage related device path was missing. Bug: 158843648 Test: dexpreopt_gen -usesTargetFiles -basePath (extract path) and then check if paths in the generated shell script are based on on-device path. Change-Id: I9667fadbf3b7c6f770e0d1bcbee5d67c1ecd8a3d Merged-In: I9667fadbf3b7c6f770e0d1bcbee5d67c1ecd8a3d (cherry picked from commit 4dda75e73e3e52e11b1cd37af33645fcfe5ed980)
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions