Colin Cross | 1d3245d | 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", |
| 20 | "android-support-test", |
| 21 | "mockito-target-inline-minus-junit4", |
| 22 | "platform-test-annotations", |
| 23 | "testables", |
| 24 | ], |
| 25 | |
| 26 | libs: [ |
| 27 | "android.test.runner", |
| 28 | "android.test.base", |
| 29 | ], |
| 30 | |
| 31 | dxflags: ["--multi-dex"], |
| 32 | |
| 33 | platform_apis: true, |
| 34 | test_suites: ["device-tests"], |
| 35 | |
| 36 | certificate: "platform", |
| 37 | |
| 38 | compile_multilib: "both", |
| 39 | |
| 40 | // These are not normally accessible from apps so they must be explicitly included. |
| 41 | jni_libs: [ |
| 42 | "libdexmakerjvmtiagent", |
| 43 | "libmultiplejvmtiagentsinterferenceagent", |
| 44 | "libbacktrace", |
| 45 | "libbase", |
| 46 | "libbinder", |
| 47 | "libbinderthreadstate", |
| 48 | "libc++", |
| 49 | "libcutils", |
| 50 | "liblog", |
| 51 | "liblzma", |
| 52 | "libnativehelper", |
Colin Cross | 1d3245d | 2018-11-20 09:46:47 -0800 | [diff] [blame] | 53 | "libui", |
| 54 | "libunwind", |
| 55 | "libutils", |
Luke Huang | 734c4ce | 2018-11-23 17:19:22 +0800 | [diff] [blame] | 56 | "netd_aidl_interface-cpp", |
Colin Cross | 1d3245d | 2018-11-20 09:46:47 -0800 | [diff] [blame] | 57 | ], |
| 58 | } |