//############################################# // Compile Robolectric sandbox //############################################# 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_sandbox", srcs: ["src/main/java/**/*.java"], libs: [ "Robolectric_annotations", "Robolectric_shadowapi", "Robolectric_utils", "asm-commons-9.2", "guava", "asm-tree-9.2", "asm-9.2", "jsr305", ], } //############################################# // Compile Robolectric sandbox tests //############################################# java_test_host { name: "Robolectric_sandbox_tests", srcs: ["src/test/java/**/*.java"], static_libs: [ "Robolectric_annotations", "Robolectric_shadowapi", "Robolectric_sandbox", "Robolectric_junit", "Robolectric_utils", "mockito", "hamcrest", "asm-commons-9.2", "guava", "objenesis", "asm-tree-9.2", "junit", "truth-prebuilt", "asm-9.2", "jsr305", ], test_suites: ["general-tests"], }