1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "frameworks_base_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_base_license"], 8} 9 10android_ravenwood_test { 11 name: "RavenwoodCoreTest", 12 13 static_libs: [ 14 "androidx.annotation_annotation", 15 "androidx.test.ext.junit", 16 "androidx.test.rules", 17 "junit-params", 18 "platform-parametric-runner-lib", 19 20 // This library should be removed by Ravenizer 21 "mockito-target-minus-junit4", 22 ], 23 libs: [ 24 // We access internal private classes 25 "ravenwood-junit-impl", 26 ], 27 srcs: [ 28 "test/**/*.java", 29 "test/**/*.kt", 30 ], 31 ravenizer: { 32 strip_mockito: true, 33 }, 34 auto_gen_config: true, 35} 36 37// Same as RavenwoodCoreTest, but it excludes tests using platform-parametric-runner-lib, 38// because that modules has too many dependencies and slow to build incrementally. 39android_ravenwood_test { 40 name: "RavenwoodCoreTest-light", 41 42 static_libs: [ 43 "androidx.annotation_annotation", 44 "androidx.test.ext.junit", 45 "androidx.test.rules", 46 47 // This library should be removed by Ravenizer 48 "mockito-target-minus-junit4", 49 ], 50 libs: [ 51 // We access internal private classes 52 "ravenwood-junit-impl", 53 ], 54 srcs: [ 55 "test/**/*.java", 56 "test/**/*.kt", 57 ], 58 59 exclude_srcs: [ 60 "test/com/android/ravenwoodtest/runnercallbacktests/*", 61 ], 62 ravenizer: { 63 strip_mockito: true, 64 }, 65 auto_gen_config: true, 66} 67