diff options
author | 2019-12-06 13:42:21 +0000 | |
---|---|---|
committer | 2019-12-06 13:42:21 +0000 | |
commit | 163664a5483bcc12db89654ab3650dae00831c5e (patch) | |
tree | ce093118c387b8b07cd50be0cf3bcf2e6e5655f2 /java/java_test.go | |
parent | cea93afe7605ed60f9b4810390d15b3010009ab7 (diff) |
Pass correct --image argument to oatdump.
This was broken after CL:
Ida40dfae8c83bf7c2e737d5c7ea418e1197ad826
..which split boot image into primary and extension.
The argument to oatdump was not updated properly.
The old form before the split was:
--image=out/soong/generic_x86/dex_bootjars/system/framework/boot.art
The new form after the split is:
--image=out/soong/generic_x86/dex_artjars/apex/com.android.art/javalib/boot.art:out/soong/generic_x86/dex_bootjars/system/framework/boot-framework.art
Test: lunch aosp_x86-userdebug && m dump-oat
Test: Manually inspect build command to make sure correct image
location is used:
$ fgrep -e 'oatdump' $ANDROID_BUILD_TOP/out/soong/build.ninja | egrep -e '--image[^ ]*' -o
--image=out/soong/generic_x86/dex_artjars/apex/com.android.art/javalib/boot.art:out/soong/generic_x86/dex_bootjars/system/framework/boot-framework.art
Change-Id: I54a5146c404aefb6eaeadbe3e9363db935ecad86
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions