See build/soong/README.md for more information. Bug: 119809391 Test: atest FrameworksServicesTests FrameworksMockingServicesTests FrameworksUiServicesTests (mostly passes, those that don't aren't run in APCT) Change-Id: Id28d25cc36df47e2f533ae878fb0d2745164fbfb
53 lines
1.1 KiB
Plaintext
53 lines
1.1 KiB
Plaintext
//########################################################################
|
|
// 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",
|
|
"truth-prebuilt",
|
|
"testables",
|
|
"ub-uiautomator",
|
|
"hamcrest-library",
|
|
],
|
|
|
|
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,
|
|
},
|
|
|
|
}
|