Bug: 295561701 Test: m AconfigDemoUnitTests Change-Id: Ib906c285ee6b4ebc04fde0e09555fb3c56453d16
41 lines
858 B
Plaintext
41 lines
858 B
Plaintext
java_library_host {
|
|
name: "ContentLibsHost",
|
|
srcs: [
|
|
":ContentLibsFile",
|
|
],
|
|
static_libs: [
|
|
"aconfig_demo_flags_java_lib_test",
|
|
],
|
|
libs: ["jsr330"],
|
|
}
|
|
|
|
java_test_host {
|
|
name: "ContentLibsTestHost",
|
|
srcs: ["*.java"],
|
|
static_libs: [
|
|
"ContentLibsHost",
|
|
"junit",
|
|
"flag-junit-base",
|
|
],
|
|
test_options: {
|
|
unit_test: true,
|
|
},
|
|
test_suites: ["general-tests"],
|
|
}
|
|
|
|
android_test {
|
|
name: "AconfigDemoUnitTests",
|
|
srcs: ["*.java"],
|
|
certificate: "platform",
|
|
static_libs: [
|
|
"junit",
|
|
"androidx.test.runner",
|
|
"flag-junit-base",
|
|
"platform-test-annotations",
|
|
],
|
|
manifest: "AndroidManifest.xml",
|
|
test_config: "AconfigDemoUnitTests.xml",
|
|
data: [":AconfigDemoActivity"],
|
|
instrumentation_for: "AconfigDemoActivity",
|
|
}
|