1//######################################################################## 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", 20 "androidx.test.rules", "hamcrest-library", 21 "mockito-target-inline-minus-junit4", 22 "platform-test-annotations", 23 "hamcrest-library", 24 "testables", 25 "truth-prebuilt", 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", 55 "libui", 56 "libunwindstack", 57 "libutils", 58 "netd_aidl_interface-V2-cpp", 59 ], 60} 61