summaryrefslogtreecommitdiff
path: root/tools/compile-jar.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/compile-jar.py')
-rwxr-xr-xtools/compile-jar.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/compile-jar.py b/tools/compile-jar.py
index 56a07d5a61..d3484460ce 100755
--- a/tools/compile-jar.py
+++ b/tools/compile-jar.py
@@ -105,19 +105,17 @@ def get_bcp_runtime_args(additions, image, arch):
"art/tools/host_bcp.sh",
os.path.expandvars(
"${{OUT}}/system/framework/oat/{}/services.odex".format(arch)),
- "--use-first-dir"
]
print("Running: {}".format(run_print(args)))
print("=START=======================================")
res = subprocess.run(args, capture_output=True, text=True)
print("=END=========================================")
if res.returncode != 0:
- print("Falling back to com.android.art BCP")
+ print("Falling back to ART boot image: {}".format(res))
args = [
"art/tools/host_bcp.sh",
os.path.expandvars(
- "${{OUT}}/apex/com.android.art.debug/javalib/{}/boot.oat".format(arch)),
- "--use-first-dir"
+ "${{OUT}}/apex/art_boot_images/javalib/{}/boot.oat".format(arch)),
]
print("Running: {}".format(run_print(args)))
print("=START=======================================")