• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#########################################################################
2# Build FrameworksUtilTests 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 all test java files.
12LOCAL_SRC_FILES := $(call all-java-files-under, src)
13LOCAL_SRC_FILES += src/android/util/IRemoteMemoryIntArray.aidl
14
15LOCAL_JNI_SHARED_LIBRARIES := libmemoryintarraytest libcutils libc++
16
17LOCAL_STATIC_JAVA_LIBRARIES := \
18    androidx.test.rules \
19    frameworks-base-testutils \
20    mockito-target-minus-junit4 \
21    androidx.test.ext.junit
22
23LOCAL_JAVA_LIBRARIES := android.test.runner android.test.base android.test.mock
24
25LOCAL_PACKAGE_NAME := FrameworksUtilTests
26LOCAL_PRIVATE_PLATFORM_APIS := true
27
28LOCAL_CERTIFICATE := platform
29
30LOCAL_COMPATIBILITY_SUITE := device-tests
31
32include $(BUILD_PACKAGE)
33
34