1######################################################################### 2# Build FrameworksUiServicesTests package 3######################################################################### 4 5LOCAL_PATH:= $(call my-dir) 6include $(CLEAR_VARS) 7 8# We only want this apk build for tests. 9LOCAL_MODULE_TAGS := tests 10 11# Include test java files and source from notifications package. 12LOCAL_SRC_FILES := $(call all-java-files-under, src) \ 13 $(call all-java-files-under, ../../core/java/com/android/server/notification) \ 14 $(call all-java-files-under, ../../core/java/com/android/server/slice) \ 15 16LOCAL_STATIC_JAVA_LIBRARIES := \ 17 services.accessibility \ 18 services.core \ 19 services.devicepolicy \ 20 services.net \ 21 services.usage \ 22 guava \ 23 android-support-test \ 24 mockito-target-inline-minus-junit4 \ 25 platform-test-annotations \ 26 testables 27 28LOCAL_JAVA_LIBRARIES := android.test.runner android.test.base 29 30LOCAL_JACK_FLAGS := --multi-dex native 31LOCAL_DX_FLAGS := --multi-dex 32 33LOCAL_PACKAGE_NAME := FrameworksUiServicesTests 34LOCAL_PRIVATE_PLATFORM_APIS := true 35LOCAL_COMPATIBILITY_SUITE := device-tests 36 37LOCAL_CERTIFICATE := platform 38 39LOCAL_MULTILIB := both 40 41# These are not normally accessible from apps so they must be explicitly included. 42LOCAL_JNI_SHARED_LIBRARIES := \ 43 libdexmakerjvmtiagent \ 44 libmultiplejvmtiagentsinterferenceagent \ 45 libbacktrace \ 46 libbase \ 47 libbinder \ 48 libc++ \ 49 libcutils \ 50 liblog \ 51 liblzma \ 52 libnativehelper \ 53 libnetdaidl \ 54 libui \ 55 libunwind \ 56 libutils 57 58LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 59 60include $(BUILD_PACKAGE) 61