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