You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.0 KiB

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_library {
name: "EventLib",
sdk_version: "test_current",
srcs: [
"src/main/java/**/*.java",
"src/main/aidl/**/I*.aidl",
],
static_libs: [
"Nene",
"Queryable"
],
manifest: "src/main/AndroidManifest.xml",
min_sdk_version: "27"
}
android_test {
name: "EventLibTest",
srcs: [
"src/test/java/**/*.java"
],
test_suites: [
"general-tests",
],
static_libs: [
"EventLib",
"ActivityContext",
"androidx.test.ext.junit",
"ctstestrunner-axt",
"truth-prebuilt",
"testng", // for assertThrows
"mockito-target-minus-junit4", // TODO(scottjonathan): Remove once we can get rid of mocks
"compatibility-device-util-axt", // used for SystemUtil.runShellCommandOrThrow
],
resource_dirs: ["src/test/res"],
data: [":EventLibTestApp"],
manifest: "src/test/AndroidManifest.xml",
min_sdk_version: "27"
}