1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5prebuilt_apex {
6    name: "com.android.art.debug",
7    arch: {
8        arm: {
9            src: "com.android.art.debug-arm.apex",
10        },
11        arm64: {
12            src: "com.android.art.debug-arm64.apex",
13        },
14        x86: {
15            src: "com.android.art.debug-x86.apex",
16        },
17        x86_64: {
18            src: "com.android.art.debug-x86_64.apex",
19        },
20    },
21}
22
23prebuilt_apex {
24    name: "com.android.art",
25
26    // TODO(b/192006406): There is currently no good way to control which
27    // prebuilt APEX (com.google.android.art or com.android.art) gets picked for
28    // deapexing to provide dex jars for hiddenapi and dexpreopting. Instead the
29    // AOSP APEX is completely disabled, and we build from source for AOSP
30    // products.
31    enabled: false,
32
33    arch: {
34        arm: {
35            src: "com.android.art-arm.apex",
36        },
37        arm64: {
38            src: "com.android.art-arm64.apex",
39        },
40        x86: {
41            src: "com.android.art-x86.apex",
42        },
43        x86_64: {
44            src: "com.android.art-x86_64.apex",
45        },
46    },
47
48    // Make fragment related files from the apex file available for use by the
49    // build when using prebuilts, e.g. for running the boot jars package check
50    // and hidden API flag validation among other uses.
51    exported_bootclasspath_fragments: ["art-bootclasspath-fragment"],
52}
53