//############################################# // Compile Robolectric resources //############################################# 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_resources", srcs: ["src/main/java/**/*.java"], libs: [ "Robolectric_annotations", "Robolectric_utils", "guava", "jsr305", ], } //############################################# // Compile Robolectric resources tests //############################################# java_test_host { name: "Robolectric_resources_tests", srcs: ["src/test/java/**/*.java"], static_libs: [ "Robolectric_resources", "Robolectric_annotations", "Robolectric_utils", "mockito", "hamcrest", "guava", "objenesis", "junit", "truth-prebuilt", "jsr305", ], test_suites: ["general-tests"], }