See go/jetpack-test-android-migration Test: make checkbuild Change-Id: I286d611dfbc025061fe999e0238775ddd85456de
21 lines
528 B
Makefile
21 lines
528 B
Makefile
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, src)
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := junit rappor-tests androidx.test.rules truth-prebuilt
|
|
|
|
LOCAL_JAVA_LIBRARIES := android.test.runner
|
|
LOCAL_PACKAGE_NAME := FrameworksPrivacyLibraryTests
|
|
LOCAL_PRIVATE_PLATFORM_APIS := true
|
|
|
|
LOCAL_CERTIFICATE := platform
|
|
LOCAL_COMPATIBILITY_SUITE := device-tests
|
|
|
|
include $(BUILD_PACKAGE)
|