Colin Cross | 35be424 | 2018-11-20 09:46:47 -0800 | [diff] [blame] | 1 | //######################################################################## |
| 2 | // Build FrameworksUiServicesTests package |
| 3 | //######################################################################## |
| 4 | |
| 5 | android_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 Chabot | 84151d9 | 2019-02-27 15:37:59 -0800 | [diff] [blame] | 20 | "androidx.test.rules", "hamcrest-library", |
Colin Cross | 35be424 | 2018-11-20 09:46:47 -0800 | [diff] [blame] | 21 | "mockito-target-inline-minus-junit4", |
| 22 | "platform-test-annotations", |
Chris Wren | bc487b5 | 2019-11-22 16:58:17 -0500 | [diff] [blame] | 23 | "platformprotosnano", |
Dan Sandler | 7647f1d | 2018-11-26 09:56:26 -0500 | [diff] [blame] | 24 | "hamcrest-library", |
Colin Cross | 35be424 | 2018-11-20 09:46:47 -0800 | [diff] [blame] | 25 | "testables", |
Tony Mak | 9a3c1f1 | 2019-03-04 16:04:42 +0000 | [diff] [blame] | 26 | "truth-prebuilt", |
Colin Cross | 35be424 | 2018-11-20 09:46:47 -0800 | [diff] [blame] | 27 | ], |
| 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 Cross | 35be424 | 2018-11-20 09:46:47 -0800 | [diff] [blame] | 56 | "libui", |
| 57 | "libunwindstack", |
| 58 | "libutils", |
Jeongik Cha | cc0b57c | 2019-10-15 17:03:51 +0900 | [diff] [blame] | 59 | "netd_aidl_interface-cpp", |
Colin Cross | 35be424 | 2018-11-20 09:46:47 -0800 | [diff] [blame] | 60 | ], |
| 61 | } |