blob: f608babd062c489744c1b2a19ccee0bc95b486b4 [file] [log] [blame]
Colin Cross35be4242018-11-20 09:46:47 -08001//########################################################################
2// Build FrameworksUiServicesTests package
3//########################################################################
4
5android_test {
6 name: "FrameworksUiServicesTests",
7
8 // Include test java files
9 srcs: [
10 "src/**/*.java",
11 ],
12
13 static_libs: [
14 "services.accessibility",
15 "services.core",
16 "services.devicepolicy",
17 "services.net",
18 "services.usage",
19 "guava",
Brett Chabot84151d92019-02-27 15:37:59 -080020 "androidx.test.rules", "hamcrest-library",
Colin Cross35be4242018-11-20 09:46:47 -080021 "mockito-target-inline-minus-junit4",
22 "platform-test-annotations",
Chris Wrenbc487b52019-11-22 16:58:17 -050023 "platformprotosnano",
Dan Sandler7647f1d2018-11-26 09:56:26 -050024 "hamcrest-library",
Colin Cross35be4242018-11-20 09:46:47 -080025 "testables",
Tony Mak9a3c1f12019-03-04 16:04:42 +000026 "truth-prebuilt",
Colin Cross35be4242018-11-20 09:46:47 -080027 ],
28
29 libs: [
30 "android.test.runner",
31 "android.test.base",
32 ],
33
34 dxflags: ["--multi-dex"],
35
36 platform_apis: true,
37 test_suites: ["device-tests"],
38
39 certificate: "platform",
40
41 compile_multilib: "both",
42
43 // These are not normally accessible from apps so they must be explicitly included.
44 jni_libs: [
45 "libdexmakerjvmtiagent",
46 "libmultiplejvmtiagentsinterferenceagent",
47 "libbacktrace",
48 "libbase",
49 "libbinder",
50 "libbinderthreadstate",
51 "libc++",
52 "libcutils",
53 "liblog",
54 "liblzma",
55 "libnativehelper",
Colin Cross35be4242018-11-20 09:46:47 -080056 "libui",
57 "libunwindstack",
58 "libutils",
Jeongik Chacc0b57c2019-10-15 17:03:51 +090059 "netd_aidl_interface-cpp",
Colin Cross35be4242018-11-20 09:46:47 -080060 ],
61}