summaryrefslogtreecommitdiff
path: root/odrefresh/odr_artifacts_test.cc
AgeCommit message (Collapse)Author
2024-06-13Use C++20 `string{,_view}::{starts,ends}_with()`, part 1. Vladimir Marko
Remove the header file `string_view_cpp20.h` and update all source files that previously used this header file. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: Iafcdfc838a97deed7fb3a37cc8afe1f7ee78306b
2022-01-12Compile the entire bootclasspath on device. Jiakai Zhang
Most of the changes in this CL are renaming and comment changes. The main behavior changes are: 1. Adding all bootclasspath jars (including the ones in the ART APEX) to `--dex-file` and `--dex-fd`. 2. Adding both the ART boot profile and the framework profile to `--profile-fd`. 3. Replacing the `--boot-image` flag with `--base` for compiling boot classpath jars. 4. Renaming the boot image on /data from `boot-framework.art` to `boot.art`. 5. Updating the `--boot-image` flag for compiling system_server jars. 6. Updating the default boot image location that the runtime uses. Bug: 203492478 Test: atest art_standalone_odrefresh_tests Test: atest art_standalone_artd_tests Test: atest odsign_e2e_tests Change-Id: If56bc96ec6f38335f3e8e1ad3085e231baacb6fc
2021-12-02Respect ART_APEX_DATA for default artifact dir Victor Hsieh
This change does not change the default artifact directory. It just makes odrefresh not define the default directory by itself, but relies on GetArtApexData from libartbase instead (which has the same default). Bug: 206468124 Test: Run odrefresh in the VM. No longer seeing files in the hard-coded directory. Test: atest art_standalone_odrefresh_tests Test: atest art_standalone_libartbase_tests Change-Id: I45bcc145dbccb3b953f359f6c10fa186f251600c
2021-02-25odrefresh: regenerate artifacts after ART APEX update Orion Hodson
Replaces compile_bcp.sh to check and compile boot class path extensions and system server jars. Enable ART to load those artifacts when present in the ART APEX data directory. Bug: 160683548 Test: art_libartbase_tests Test: adb root && adb odrefresh {--force-check,--force-compile} Test: adb install com.android.art && adb reboot && adb root && \ adb shell odrefresh {--check,--compile} && adb reboot && \ adb shell cat /proc/<zygote>/maps | grep apexdata Change-Id: I81bf520d38f9dc0109c91f192bc6e728099049fd