blob: e2821f40f24cc286fe713d21317655d3d62005df [file] [log] [blame]
//########################################################################
// Build WmTests package
//########################################################################
android_test {
name: "WmTests",
// We only want this apk build for tests.
// Include all test java files.
srcs: [
"src/**/*.java",
],
static_libs: [
"frameworks-base-testutils",
"services.core",
"androidx.test.runner",
"androidx.test.rules",
"mockito-target-extended-minus-junit4",
"platform-test-annotations",
"servicestests-utils",
"testng",
"truth-prebuilt",
"testables",
"ub-uiautomator",
"hamcrest-library",
"compatibility-device-util-axt",
],
libs: [
"android.test.mock",
"android.test.base",
"android.test.runner",
],
// These are not normally accessible from apps so they must be explicitly included.
jni_libs: [
"libdexmakerjvmtiagent",
"libstaticjvmtiagent",
],
platform_apis: true,
test_suites: ["device-tests"],
certificate: "platform",
dxflags: ["--multi-dex"],
optimize: {
enabled: false,
},
}