diff options
author | Artem Serov <artem.serov@linaro.org> | 2022-01-25 17:32:48 +0000 |
---|---|---|
committer | Artem Serov <artem.serov@linaro.org> | 2022-01-25 17:43:39 +0000 |
commit | 46cd1666075c7e1d304eb1301a17773b83e55ccf (patch) | |
tree | 7b7fab20298aa792c426fe8753dea2c0b0fca879 | |
parent | 6334079b65fd80ea3458cbfcd791bb5d26683aa9 (diff) | |
download | art-build-scripts-46cd1666075c7e1d304eb1301a17773b83e55ccf.tar.gz |
Fix dex2oat and dalvikvm paths.
Use /apex/ locations for the tools.
Authors: Artem Kotsiuba, Artem Serov.
Test: compilation_stats_target.sh --cpu default \
./external-benchmarks/apks/DuckDuckGo/duckduckgo.apk \
boot.oat --iterations 2
Test: benchmarks_run_target.sh --cpu default \
--iterations 2 algorithm/DeltaBlue
Test: ./presubmit.sh
Change-Id: Ie6a181d553638737c4f069815cfe6aa77042f2a1
-rw-r--r-- | utils/utils_benchmarks.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/utils_benchmarks.sh b/utils/utils_benchmarks.sh index 4234d84d..bd76032c 100644 --- a/utils/utils_benchmarks.sh +++ b/utils/utils_benchmarks.sh @@ -100,7 +100,7 @@ get_target_dex2oat_cmd() { local -r oat_dir="$(dirname "${apk_file}")/oat/${isa}" local -r apk_name="$(basename "${apk_file}" .apk)" - echo "/system/bin/dex2oat -g --compact-dex-level=none \ + echo "/apex/com.android.art/bin/dex2oat -g --compact-dex-level=none \ --resolve-startup-const-strings=true \ --instruction-set=${isa} \ --runtime-arg -Xnorelocate \ @@ -190,7 +190,7 @@ get_target_dalvikvm_cmd() { classpath_arg="-cp ${classpath}" fi - echo "/system/bin/dalvikvm -Xusejit:false \ + echo "/apex/com.android.art/bin/dalvikvm -Xusejit:false \ -Djava.io.tmpdir=${work_dir} \ ${classpath_arg}" } |