summaryrefslogtreecommitdiffstats
path: root/Android.bp
blob: 9be2d10531afb3326f1a4c82b584b78154511966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

prebuilt_apex {
    name: "com.android.art.debug",
    arch: {
        arm: {
            src: "com.android.art.debug-arm.apex",
        },
        arm64: {
            src: "com.android.art.debug-arm64.apex",
        },
        x86: {
            src: "com.android.art.debug-x86.apex",
        },
        x86_64: {
            src: "com.android.art.debug-x86_64.apex",
        },
    },
}

prebuilt_apex {
    name: "com.android.art",

    // TODO(b/192006406): There is currently no good way to control which
    // prebuilt APEX (com.google.android.art or com.android.art) gets picked for
    // deapexing to provide dex jars for hiddenapi and dexpreopting. Instead the
    // AOSP APEX is completely disabled, and we build from source for AOSP
    // products.
    enabled: false,

    arch: {
        arm: {
            src: "com.android.art-arm.apex",
        },
        arm64: {
            src: "com.android.art-arm64.apex",
        },
        x86: {
            src: "com.android.art-x86.apex",
        },
        x86_64: {
            src: "com.android.art-x86_64.apex",
        },
    },

    // Make fragment related files from the apex file available for use by the
    // build when using prebuilts, e.g. for running the boot jars package check
    // and hidden API flag validation among other uses.
    exported_bootclasspath_fragments: ["art-bootclasspath-fragment"],
}