xref: /aosp_15_r20/prebuilts/runtime/mainline/flags/README.md (revision 924841fff420cd6b931e1027ee46b85e0a18fe17)
1Prebuilts of exported flag libraries from platform and other Mainline modules
2that the ART Module needs.
3
4To update:
5
61. Build the ART Module on the full AOSP tree.
7
8    ```
9    m com.android.art
10    ```
11
121. Copy the jars from the build intermediates.
13
14    ```
15    declare -a locations=(
16      "frameworks/base/android.content.pm.flags-aconfig-java-export"
17      "frameworks/base/android.os.flags-aconfig-java-export"
18    )
19    for location in "${locations[@]}"; do
20      cp out/soong/.intermediates/$location/android_common_apex31/javac/*.jar \
21          prebuilts/runtime/mainline/flags
22    done
23    ```
24