blob: 92198fa8cb0c236daa118993ebec981f7761b4b2 [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",
Dan Sandler7647f1d2018-11-26 09:56:26 -050023 "hamcrest-library",
Colin Cross35be4242018-11-20 09:46:47 -080024 "testables",
Tony Mak9a3c1f12019-03-04 16:04:42 +000025 "truth-prebuilt",
Colin Cross35be4242018-11-20 09:46:47 -080026 ],
27
28 libs: [
29 "android.test.runner",
30 "android.test.base",
31 ],
32
33 dxflags: ["--multi-dex"],
34
35 platform_apis: true,
36 test_suites: ["device-tests"],
37
38 certificate: "platform",
39
40 compile_multilib: "both",
41
42 // These are not normally accessible from apps so they must be explicitly included.
43 jni_libs: [
44 "libdexmakerjvmtiagent",
45 "libmultiplejvmtiagentsinterferenceagent",
46 "libbacktrace",
47 "libbase",
48 "libbinder",
49 "libbinderthreadstate",
50 "libc++",
51 "libcutils",
52 "liblog",
53 "liblzma",
54 "libnativehelper",
Colin Cross35be4242018-11-20 09:46:47 -080055 "libui",
56 "libunwindstack",
57 "libutils",
Luke Huang734c4ce2018-11-23 17:19:22 +080058 "netd_aidl_interface-cpp",
Colin Cross35be4242018-11-20 09:46:47 -080059 ],
60}