blob: 29e46f9907199c9abea70709c3483d69b66c401f [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",
],
test_suites: ["general-tests"],
}