1 ######################################################################### 2 # Build FrameworksUtilTests package 3 ######################################################################### 4 5 LOCAL_PATH:= $(call my-dir) 6 include $(CLEAR_VARS) 7 8 # We only want this apk build for tests. 9 LOCAL_MODULE_TAGS := tests 10 11 # Include all test java files. 12 LOCAL_SRC_FILES := $(call all-java-files-under, src) 13 LOCAL_SRC_FILES += src/android/util/IRemoteMemoryIntArray.aidl 14 15 LOCAL_JNI_SHARED_LIBRARIES := libmemoryintarraytest libcutils libc++ 16 17 LOCAL_STATIC_JAVA_LIBRARIES := \ 18 androidx.test.rules \ 19 frameworks-base-testutils \ 20 mockito-target-minus-junit4 \ 21 androidx.test.ext.junit 22 23 LOCAL_JAVA_LIBRARIES := android.test.runner android.test.base android.test.mock 24 25 LOCAL_PACKAGE_NAME := FrameworksUtilTests 26 LOCAL_PRIVATE_PLATFORM_APIS := true 27 28 LOCAL_CERTIFICATE := platform 29 30 LOCAL_COMPATIBILITY_SUITE := device-tests 31 32 include $(BUILD_PACKAGE) 33 34