blob: 2ef141f5f7d2b9a90d8f6202bc1d18b8157a3236 [file] [log] [blame]
#########################################################################
# Build FrameworksNetTests package
#########################################################################
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
# We only want this apk build for tests.
LOCAL_MODULE_TAGS := tests
# Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, java)
LOCAL_STATIC_JAVA_LIBRARIES := \
frameworks-base-testutils \
framework-protos \
androidx.test.rules \
mockito-target-minus-junit4 \
platform-test-annotations \
services.core \
services.ipmemorystore \
services.net
LOCAL_JAVA_LIBRARIES := \
android.test.runner \
android.test.base \
android.test.mock
LOCAL_PACKAGE_NAME := FrameworksNetTests
LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_COMPATIBILITY_SUITE := device-tests
LOCAL_CERTIFICATE := platform
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
include $(BUILD_PACKAGE)