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", |
Dan Sandler | 7647f1d | 2018-11-26 09:56:26 -0500 | [diff] [blame] | 23 | "hamcrest-library", |
Colin Cross | 35be424 | 2018-11-20 09:46:47 -0800 | [diff] [blame] | 24 | "testables", |
Tony Mak | 9a3c1f1 | 2019-03-04 16:04:42 +0000 | [diff] [blame] | 25 | "truth-prebuilt", |
Colin Cross | 35be424 | 2018-11-20 09:46:47 -0800 | [diff] [blame] | 26 | ], |
| 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 Cross | 35be424 | 2018-11-20 09:46:47 -0800 | [diff] [blame] | 55 | "libui", |
| 56 | "libunwindstack", |
| 57 | "libutils", |
Luke Huang | 734c4ce | 2018-11-23 17:19:22 +0800 | [diff] [blame] | 58 | "netd_aidl_interface-cpp", |
Colin Cross | 35be424 | 2018-11-20 09:46:47 -0800 | [diff] [blame] | 59 | ], |
| 60 | } |