blob: 085c62bf8dbf0f6e6d7ab1a4f961596b22f99163 [file] [log] [blame]
//#############################################
// Compile Robolectric utils
//#############################################
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_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["external_robolectric_license"],
}
java_library_host {
name: "Robolectric_pluginapi_upstream",
srcs: ["src/main/java/**/*.java"],
static_libs: [
"robolectric-javax.annotation-api-1.2",
"Robolectric_annotations_upstream",
"guava",
"jsr330",
"jsr305",
],
}
//#############################################
// Compile Robolectric utils tests
//#############################################
java_test_host {
name: "Robolectric_pluginapi_tests_upstream",
srcs: ["src/test/java/**/*.java"],
static_libs: [
"Robolectric_pluginapi_upstream",
"hamcrest",
"guava",
"junit",
"truth-prebuilt",
],
test_suites: ["general-tests"],
}