1//############################################# 2// Compile Robolectric shadows framework 3//############################################# 4 5package { 6 // See: http://go/android-license-faq 7 // A large-scale-change added 'default_applicable_licenses' to import 8 // all of the 'license_kinds' from "external_robolectric-shadows_license" 9 // to get the below license kinds: 10 // SPDX-license-identifier-Apache-2.0 11 default_applicable_licenses: ["external_robolectric-shadows_license"], 12} 13 14java_library_host { 15 name: "Robolectric_shadows_framework", 16 libs: [ 17 "Robolectric_annotations", 18 "Robolectric_shadowapi", 19 "Robolectric_resources", 20 "Robolectric_utils", 21 "robolectric-accessibility-test-framework-2.1", 22 "robolectric-javax.annotation-api-1.2", 23 "hamcrest-library", 24 "hamcrest", 25 "robolectric-sqlite4java-0.282", 26 "guava", 27 "icu4j", 28 "jsr305", 29 "robolectric-host-android_all", 30 ], 31 plugins: ["Robolectric_processor"], 32 javacflags: ["-Aorg.robolectric.annotation.processing.shadowPackage=org.robolectric"], 33 srcs: ["src/main/java/**/*.java"], 34 java_resource_dirs: ["src/main/resources"], 35} 36