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-test-exports.contributions", 11 contents: [ 12 "prebuilt_core-compat-test-rules", 13 "prebuilt_core-test-rules", 14 "prebuilt_core-tests-support", 15 "prebuilt_okhttp-tests-nojarjar", 16 "prebuilt_art_cts_jvmti_test_library", 17 "prebuilt_expected_cts_outputs", 18 "prebuilt_core-libart-for-host", 19 "prebuilt_okhttp-for-host", 20 "prebuilt_libcore-expectations-knownfailures-jar", 21 "prebuilt_libcore-expectations-virtualdeviceknownfailures-jar", 22 "prebuilt_okhttp-nojarjar", 23 "prebuilt_apache-harmony-jdwp-tests", 24 "prebuilt_libcore-crypto-tests", 25 "prebuilt_core-ojtests-public", 26 "prebuilt_jsr166-tests", 27 "prebuilt_apache-harmony-tests", 28 "prebuilt_core-tests", 29 "prebuilt_libjavacoretests", 30 ], 31} 32 33java_import { 34 name: "core-compat-test-rules", 35 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 36 use_source_config_var: { 37 config_namespace: "art_module", 38 var_name: "source_build", 39 }, 40 visibility: ["//visibility:public"], 41 apex_available: ["//apex_available:platform"], 42 licenses: ["art-module-test-exports_libcore_license"], 43 jars: ["java/core-compat-test-rules.jar"], 44} 45 46java_import { 47 name: "core-test-rules", 48 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 49 use_source_config_var: { 50 config_namespace: "art_module", 51 var_name: "source_build", 52 }, 53 visibility: ["//visibility:public"], 54 apex_available: ["//apex_available:platform"], 55 licenses: ["art-module-test-exports_libcore_license"], 56 jars: ["java/core-test-rules.jar"], 57} 58 59java_import { 60 name: "core-tests-support", 61 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 62 use_source_config_var: { 63 config_namespace: "art_module", 64 var_name: "source_build", 65 }, 66 visibility: ["//visibility:public"], 67 apex_available: ["//apex_available:platform"], 68 licenses: ["art-module-test-exports_libcore_license"], 69 jars: ["java/core-tests-support.jar"], 70 min_sdk_version: "31", 71} 72 73java_import { 74 name: "okhttp-tests-nojarjar", 75 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 76 use_source_config_var: { 77 config_namespace: "art_module", 78 var_name: "source_build", 79 }, 80 visibility: ["//visibility:public"], 81 apex_available: ["//apex_available:platform"], 82 licenses: ["art-module-test-exports_external_okhttp_license"], 83 jars: ["java/okhttp-tests-nojarjar.jar"], 84} 85 86java_import { 87 name: "art_cts_jvmti_test_library", 88 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 89 use_source_config_var: { 90 config_namespace: "art_module", 91 var_name: "source_build", 92 }, 93 visibility: ["//visibility:public"], 94 apex_available: ["//apex_available:platform"], 95 licenses: ["art-module-test-exports_art_license"], 96 jars: ["java/art_cts_jvmti_test_library.jar"], 97 min_sdk_version: "31", 98} 99 100java_import { 101 name: "expected_cts_outputs", 102 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 103 use_source_config_var: { 104 config_namespace: "art_module", 105 var_name: "source_build", 106 }, 107 visibility: ["//visibility:public"], 108 apex_available: ["//apex_available:platform"], 109 licenses: ["art-module-test-exports_art_license"], 110 jars: ["java/expected_cts_outputs.jar"], 111 min_sdk_version: "31", 112} 113 114java_import { 115 name: "core-libart-for-host", 116 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 117 use_source_config_var: { 118 config_namespace: "art_module", 119 var_name: "source_build", 120 }, 121 visibility: ["//visibility:public"], 122 apex_available: ["//apex_available:platform"], 123 licenses: ["art-module-test-exports_libcore_license"], 124 jars: ["java/core-libart-for-host.jar"], 125} 126 127java_import { 128 name: "okhttp-for-host", 129 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 130 use_source_config_var: { 131 config_namespace: "art_module", 132 var_name: "source_build", 133 }, 134 visibility: ["//visibility:public"], 135 apex_available: ["//apex_available:platform"], 136 licenses: ["art-module-test-exports_external_okhttp_license"], 137 jars: ["java/okhttp-for-host.jar"], 138} 139 140java_import { 141 name: "libcore-expectations-knownfailures-jar", 142 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 143 use_source_config_var: { 144 config_namespace: "art_module", 145 var_name: "source_build", 146 }, 147 visibility: ["//visibility:public"], 148 apex_available: ["//apex_available:platform"], 149 licenses: ["art-module-test-exports_libcore_license"], 150 jars: ["java/libcore-expectations-knownfailures-jar.jar"], 151 min_sdk_version: "31", 152} 153 154java_import { 155 name: "libcore-expectations-virtualdeviceknownfailures-jar", 156 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 157 use_source_config_var: { 158 config_namespace: "art_module", 159 var_name: "source_build", 160 }, 161 visibility: ["//visibility:public"], 162 apex_available: ["//apex_available:platform"], 163 licenses: ["art-module-test-exports_libcore_license"], 164 jars: ["java/libcore-expectations-virtualdeviceknownfailures-jar.jar"], 165 min_sdk_version: "31", 166} 167 168java_import { 169 name: "okhttp-nojarjar", 170 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 171 use_source_config_var: { 172 config_namespace: "art_module", 173 var_name: "source_build", 174 }, 175 visibility: ["//visibility:public"], 176 apex_available: ["//apex_available:platform"], 177 licenses: ["art-module-test-exports_external_okhttp_license"], 178 jars: ["java/okhttp-nojarjar.jar"], 179} 180 181java_test_import { 182 name: "apache-harmony-jdwp-tests", 183 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 184 use_source_config_var: { 185 config_namespace: "art_module", 186 var_name: "source_build", 187 }, 188 visibility: ["//visibility:public"], 189 apex_available: ["//apex_available:platform"], 190 licenses: ["art-module-test-exports_external_apache-harmony_jdwp_license"], 191 jars: ["java/apache-harmony-jdwp-tests.jar"], 192 test_config: "java/apache-harmony-jdwp-tests-AndroidTest.xml", 193} 194 195java_test_import { 196 name: "libcore-crypto-tests", 197 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 198 use_source_config_var: { 199 config_namespace: "art_module", 200 var_name: "source_build", 201 }, 202 visibility: ["//visibility:public"], 203 apex_available: ["//apex_available:platform"], 204 licenses: ["art-module-test-exports_libcore_license"], 205 jars: ["java/libcore-crypto-tests.jar"], 206 test_config: "java/libcore-crypto-tests-AndroidTest.xml", 207} 208 209java_test_import { 210 name: "core-ojtests-public", 211 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 212 use_source_config_var: { 213 config_namespace: "art_module", 214 var_name: "source_build", 215 }, 216 visibility: ["//visibility:public"], 217 apex_available: ["//apex_available:platform"], 218 licenses: ["art-module-test-exports_libcore_ojluni_src_test_license"], 219 jars: ["java/core-ojtests-public.jar"], 220 test_config: "java/core-ojtests-public-AndroidTest.xml", 221} 222 223java_test_import { 224 name: "jsr166-tests", 225 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 226 use_source_config_var: { 227 config_namespace: "art_module", 228 var_name: "source_build", 229 }, 230 visibility: ["//visibility:public"], 231 apex_available: ["//apex_available:platform"], 232 licenses: ["art-module-test-exports_libcore_license"], 233 jars: ["java/jsr166-tests.jar"], 234 test_config: "java/jsr166-tests-AndroidTest.xml", 235} 236 237java_test_import { 238 name: "apache-harmony-tests", 239 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 240 use_source_config_var: { 241 config_namespace: "art_module", 242 var_name: "source_build", 243 }, 244 visibility: ["//visibility:public"], 245 apex_available: ["//apex_available:platform"], 246 licenses: ["art-module-test-exports_external_apache-harmony_license"], 247 jars: ["java/apache-harmony-tests.jar"], 248 test_config: "java/apache-harmony-tests-AndroidTest.xml", 249} 250 251java_test_import { 252 name: "core-tests", 253 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 254 use_source_config_var: { 255 config_namespace: "art_module", 256 var_name: "source_build", 257 }, 258 visibility: ["//visibility:public"], 259 apex_available: ["//apex_available:platform"], 260 licenses: ["art-module-test-exports_libcore_license"], 261 jars: ["java/core-tests.jar"], 262 test_config: "java/core-tests-AndroidTest.xml", 263} 264 265license { 266 name: "art-module-test-exports_art_license", 267 visibility: ["//visibility:private"], 268 license_kinds: [ 269 "SPDX-license-identifier-Apache-2.0", 270 "SPDX-license-identifier-BSD", 271 ], 272 license_text: ["licenses/art/NOTICE"], 273} 274 275license { 276 name: "art-module-test-exports_libcore_license", 277 visibility: ["//visibility:private"], 278 license_kinds: [ 279 "SPDX-license-identifier-Apache-2.0", 280 "SPDX-license-identifier-BSD", 281 "SPDX-license-identifier-GPL-2.0-with-classpath-exception", 282 "SPDX-license-identifier-MIT", 283 "SPDX-license-identifier-OpenSSL", 284 "SPDX-license-identifier-Unicode-DFS", 285 "SPDX-license-identifier-W3C", 286 "legacy_unencumbered", 287 ], 288 license_text: [ 289 "licenses/libcore/LICENSE", 290 "licenses/libcore/NOTICE", 291 "licenses/libcore/ojluni/src/main/NOTICE", 292 ], 293} 294 295license { 296 name: "art-module-test-exports_external_okhttp_license", 297 visibility: ["//visibility:private"], 298 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 299 license_text: ["licenses/external/okhttp/LICENSE.txt"], 300} 301 302license { 303 name: "art-module-test-exports_external_apache-harmony_jdwp_license", 304 visibility: ["//visibility:private"], 305 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 306 license_text: [ 307 "licenses/external/apache-harmony/jdwp/COPYRIGHT.txt", 308 "licenses/external/apache-harmony/jdwp/LICENSE.txt", 309 "licenses/external/apache-harmony/jdwp/NOTICE.txt", 310 ], 311} 312 313license { 314 name: "art-module-test-exports_libcore_ojluni_src_test_license", 315 visibility: ["//visibility:private"], 316 license_kinds: [ 317 "SPDX-license-identifier-Apache-2.0", 318 "SPDX-license-identifier-GPL-2.0", 319 ], 320 license_text: ["licenses/libcore/ojluni/src/test/LICENSE"], 321} 322 323license { 324 name: "art-module-test-exports_external_apache-harmony_license", 325 visibility: ["//visibility:private"], 326 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 327 license_text: ["licenses/external/apache-harmony/NOTICE"], 328} 329 330cc_prebuilt_library_shared { 331 name: "libjavacoretests", 332 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 333 use_source_config_var: { 334 config_namespace: "art_module", 335 var_name: "source_build", 336 }, 337 visibility: ["//visibility:public"], 338 apex_available: ["//apex_available:platform"], 339 licenses: ["art-module-test-exports_libcore_license"], 340 compile_multilib: "both", 341 shared_libs: [ 342 "liblog", 343 "libnativehelper", 344 ], 345 arch: { 346 arm64: { 347 srcs: ["arm64/lib/libjavacoretests.so"], 348 }, 349 x86_64: { 350 srcs: ["x86_64/lib/libjavacoretests.so"], 351 }, 352 arm: { 353 srcs: ["arm/lib/libjavacoretests.so"], 354 }, 355 x86: { 356 srcs: ["x86/lib/libjavacoretests.so"], 357 }, 358 }, 359 strip: { 360 none: true, 361 }, 362} 363