43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
|
|
//#############################################
|
||
|
|
// 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_utils_reflector_upstream",
|
||
|
|
static_libs: [
|
||
|
|
"Robolectric_utils_upstream",
|
||
|
|
"asm-9.2",
|
||
|
|
"asm-commons-9.2",
|
||
|
|
"asm-tree-9.2",
|
||
|
|
"asm-util-9.2",
|
||
|
|
],
|
||
|
|
srcs: ["src/main/java/**/*.java"],
|
||
|
|
}
|
||
|
|
|
||
|
|
//#############################################
|
||
|
|
// Compile Robolectric utils tests
|
||
|
|
//#############################################
|
||
|
|
|
||
|
|
java_test_host {
|
||
|
|
name: "Robolectric_utils_reflector_tests_upstream",
|
||
|
|
srcs: ["src/test/java/**/*.java"],
|
||
|
|
static_libs: [
|
||
|
|
"Robolectric_utils_reflector_upstream",
|
||
|
|
"Robolectric_shadowapi_upstream",
|
||
|
|
"hamcrest",
|
||
|
|
"guava",
|
||
|
|
"junit",
|
||
|
|
"truth-prebuilt",
|
||
|
|
],
|
||
|
|
test_suites: ["general-tests"],
|
||
|
|
}
|