• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This is auto-generated. DO NOT EDIT.
2
3// Soong config variable stanza added by test_art.
4soong_config_module_type_import {
5    from: "prebuilts/module_sdk/art/SoongConfig.bp",
6    module_types: [
7        "art_prebuilt_java_import",
8        "art_prebuilt_prebuilt_bootclasspath_fragment",
9        "art_prebuilt_prebuilt_platform_compat_config",
10    ],
11}
12
13package {
14    // A default list here prevents the license LSC from adding its own list which would
15    // be unnecessary as every module in the sdk already has its own licenses property.
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19art_prebuilt_prebuilt_bootclasspath_fragment {
20    name: "art-bootclasspath-fragment",
21    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
22    prefer: true,
23    soong_config_variables: {
24        source_build: {
25            prefer: false,
26        },
27    },
28    visibility: [
29        "//art/build/apex",
30        "//art/build/boot",
31        "//art/build/sdk",
32        "//prebuilts:__subpackages__",
33    ],
34    apex_available: [
35        "com.android.art",
36    ],
37    licenses: ["art-module-sdk_art_license"],
38    image_name: "art",
39    contents: [
40        "core-oj",
41        "core-libart",
42        "okhttp",
43        "bouncycastle",
44        "apache-xml",
45    ],
46    api: {
47        stub_libs: ["art.module.public.api"],
48    },
49    core_platform_api: {
50        stub_libs: ["art.module.public.api.stubs.module_lib"],
51    },
52    hidden_api: {
53        max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"],
54        blocked: ["hiddenapi/hiddenapi-blocked.txt"],
55        unsupported_packages: ["hiddenapi/hiddenapi-unsupported-packages.txt"],
56        stub_flags: "hiddenapi/stub-flags.csv",
57        annotation_flags: "hiddenapi/annotation-flags.csv",
58        metadata: "hiddenapi/metadata.csv",
59        index: "hiddenapi/index.csv",
60        all_flags: "hiddenapi/all-flags.csv",
61    },
62}
63
64art_prebuilt_prebuilt_platform_compat_config {
65    name: "libcore-platform-compat-config",
66    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
67    prefer: true,
68    soong_config_variables: {
69        source_build: {
70            prefer: false,
71        },
72    },
73    visibility: [
74        "//art/build/apex",
75        "//art/build/sdk",
76        "//libcore",
77        "//prebuilts:__subpackages__",
78    ],
79    licenses: ["art-module-sdk_libcore_license"],
80    metadata: "compat_configs/libcore-platform-compat-config/libcore-platform-compat-config_meta.xml",
81}
82
83art_prebuilt_java_import {
84    name: "core-oj",
85    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
86    prefer: true,
87    soong_config_variables: {
88        source_build: {
89            prefer: false,
90        },
91    },
92    visibility: [
93        "//art/build/apex",
94        "//art/build/sdk",
95        "//external/wycheproof",
96        "//libcore",
97        "//libcore/benchmarks",
98        "//packages/modules/ArtPrebuilt",
99        "//prebuilts:__subpackages__",
100    ],
101    apex_available: [
102        "com.android.art",
103        "com.android.art.debug",
104    ],
105    licenses: ["art-module-sdk_libcore_license"],
106    jars: ["java/core-oj.jar"],
107}
108