//############################################# // Compile Robolectric shadows framework //############################################# package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "external_robolectric-shadows_license" // to get the below license kinds: // SPDX-license-identifier-Apache-2.0 default_applicable_licenses: ["external_robolectric-shadows_license"], } java_library_host { name: "Robolectric_shadows_framework", libs: [ "Robolectric_annotations", "Robolectric_shadowapi", "Robolectric_resources", "Robolectric_utils", "robolectric-accessibility-test-framework-2.1", "robolectric-javax.annotation-api-1.2", "hamcrest-library", "hamcrest", "robolectric-sqlite4java-0.282", "guava", "icu4j", "jsr305", "robolectric-host-android_all", ], plugins: ["Robolectric_processor"], javacflags: ["-Aorg.robolectric.annotation.processing.shadowPackage=org.robolectric"], srcs: ["src/main/java/**/*.java"], java_resource_dirs: ["src/main/resources"], }