1// This is auto-generated. DO NOT EDIT. 2 3package { 4 // A default list here prevents the license LSC from adding its own list which would 5 // be unnecessary as every module in the sdk already has its own licenses property. 6 default_applicable_licenses: ["Android-Apache-2.0"], 7} 8 9apex_contributions_defaults { 10 name: "art-module-host-exports.contributions", 11 contents: [ 12 "prebuilt_art.module.api.annotations", 13 "prebuilt_dex2oat", 14 "prebuilt_dex2oatd", 15 "prebuilt_dexdump", 16 "prebuilt_hiddenapi", 17 "prebuilt_oatdump", 18 "prebuilt_profman", 19 "prebuilt_veridex", 20 ], 21} 22 23java_import { 24 name: "art.module.api.annotations", 25 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 26 use_source_config_var: { 27 config_namespace: "art_module", 28 var_name: "source_build", 29 }, 30 visibility: ["//visibility:public"], 31 apex_available: ["//apex_available:platform"], 32 licenses: ["art-module-host-exports_libcore_license"], 33 device_supported: false, 34 host_supported: true, 35 jars: ["java/art.module.api.annotations.jar"], 36 min_sdk_version: "31", 37} 38 39license { 40 name: "art-module-host-exports_art_license", 41 visibility: ["//visibility:private"], 42 license_kinds: [ 43 "SPDX-license-identifier-Apache-2.0", 44 "SPDX-license-identifier-BSD", 45 ], 46 license_text: ["licenses/art/NOTICE"], 47} 48 49license { 50 name: "art-module-host-exports_libcore_license", 51 visibility: ["//visibility:private"], 52 license_kinds: [ 53 "SPDX-license-identifier-Apache-2.0", 54 "SPDX-license-identifier-BSD", 55 "SPDX-license-identifier-GPL-2.0-with-classpath-exception", 56 "SPDX-license-identifier-MIT", 57 "SPDX-license-identifier-OpenSSL", 58 "SPDX-license-identifier-Unicode-DFS", 59 "SPDX-license-identifier-W3C", 60 "legacy_unencumbered", 61 ], 62 license_text: [ 63 "licenses/libcore/LICENSE", 64 "licenses/libcore/NOTICE", 65 "licenses/libcore/ojluni/src/main/NOTICE", 66 ], 67} 68 69cc_prebuilt_binary { 70 name: "dex2oat", 71 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 72 use_source_config_var: { 73 config_namespace: "art_module", 74 var_name: "source_build", 75 }, 76 visibility: ["//visibility:public"], 77 apex_available: [ 78 "com.android.art", 79 "com.android.art.debug", 80 "test_broken_com.android.art", 81 ], 82 licenses: ["art-module-host-exports_art_license"], 83 device_supported: false, 84 host_supported: true, 85 stl: "c++_static", 86 compile_multilib: "64", 87 target: { 88 host: { 89 enabled: false, 90 }, 91 linux_glibc_x86_64: { 92 enabled: true, 93 srcs: ["x86_64/bin/dex2oat64"], 94 }, 95 }, 96} 97 98cc_prebuilt_binary { 99 name: "dex2oatd", 100 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 101 use_source_config_var: { 102 config_namespace: "art_module", 103 var_name: "source_build", 104 }, 105 visibility: ["//visibility:public"], 106 apex_available: ["com.android.art.debug"], 107 licenses: ["art-module-host-exports_art_license"], 108 device_supported: false, 109 host_supported: true, 110 stl: "c++_static", 111 compile_multilib: "64", 112 target: { 113 host: { 114 enabled: false, 115 }, 116 linux_glibc_x86_64: { 117 enabled: true, 118 srcs: ["x86_64/bin/dex2oatd64"], 119 }, 120 }, 121} 122 123cc_prebuilt_binary { 124 name: "dexdump", 125 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 126 use_source_config_var: { 127 config_namespace: "art_module", 128 var_name: "source_build", 129 }, 130 visibility: ["//visibility:public"], 131 apex_available: [ 132 "com.android.art", 133 "com.android.art.debug", 134 "test_broken_com.android.art", 135 ], 136 licenses: ["art-module-host-exports_art_license"], 137 device_supported: false, 138 host_supported: true, 139 stl: "libc++_static", 140 compile_multilib: "64", 141 target: { 142 host: { 143 enabled: false, 144 }, 145 linux_glibc_x86_64: { 146 enabled: true, 147 srcs: ["x86_64/bin/dexdump"], 148 }, 149 }, 150} 151 152cc_prebuilt_binary { 153 name: "hiddenapi", 154 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 155 use_source_config_var: { 156 config_namespace: "art_module", 157 var_name: "source_build", 158 }, 159 visibility: ["//visibility:public"], 160 apex_available: ["//apex_available:platform"], 161 licenses: ["art-module-host-exports_art_license"], 162 device_supported: false, 163 host_supported: true, 164 stl: "c++_static", 165 compile_multilib: "64", 166 target: { 167 host: { 168 enabled: false, 169 }, 170 linux_glibc_x86_64: { 171 enabled: true, 172 srcs: ["x86_64/bin/hiddenapi"], 173 }, 174 }, 175} 176 177cc_prebuilt_binary { 178 name: "oatdump", 179 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 180 use_source_config_var: { 181 config_namespace: "art_module", 182 var_name: "source_build", 183 }, 184 visibility: ["//visibility:public"], 185 apex_available: [ 186 "com.android.art", 187 "com.android.art.debug", 188 "test_broken_com.android.art", 189 ], 190 licenses: ["art-module-host-exports_art_license"], 191 device_supported: false, 192 host_supported: true, 193 stl: "c++_static", 194 compile_multilib: "64", 195 target: { 196 host: { 197 enabled: false, 198 }, 199 linux_glibc_x86_64: { 200 enabled: true, 201 srcs: ["x86_64/bin/oatdump"], 202 }, 203 }, 204} 205 206cc_prebuilt_binary { 207 name: "profman", 208 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 209 use_source_config_var: { 210 config_namespace: "art_module", 211 var_name: "source_build", 212 }, 213 visibility: ["//visibility:public"], 214 apex_available: [ 215 "com.android.art", 216 "com.android.art.debug", 217 "test_broken_com.android.art", 218 ], 219 licenses: ["art-module-host-exports_art_license"], 220 device_supported: false, 221 host_supported: true, 222 stl: "c++_static", 223 compile_multilib: "64", 224 target: { 225 host: { 226 enabled: false, 227 }, 228 linux_glibc_x86_64: { 229 enabled: true, 230 srcs: ["x86_64/bin/profman"], 231 }, 232 }, 233} 234 235cc_prebuilt_binary { 236 name: "veridex", 237 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 238 use_source_config_var: { 239 config_namespace: "art_module", 240 var_name: "source_build", 241 }, 242 visibility: ["//visibility:public"], 243 apex_available: ["//apex_available:platform"], 244 licenses: ["art-module-host-exports_art_license"], 245 device_supported: false, 246 host_supported: true, 247 stl: "libc++_static", 248 compile_multilib: "64", 249 target: { 250 host: { 251 enabled: false, 252 }, 253 linux_glibc_x86_64: { 254 enabled: true, 255 srcs: ["x86_64/bin/veridex"], 256 }, 257 }, 258} 259