blob: 75282ba9a88c27af7502bccb78a9df614d1b2a78 [file] [log] [blame]
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := tests
LOCAL_MANIFEST_FILE := app/src/main/AndroidManifest.xml
LOCAL_SDK_VERSION := current
LOCAL_USE_AAPT2 := true
# omit gradle 'build' dir
LOCAL_SRC_FILES := $(call all-java-files-under,app/src/main/java)
# use appcompat/support lib from the tree, so improvements/
# regressions are reflected in test data
LOCAL_RESOURCE_DIR := \
$(LOCAL_PATH)/app/src/main/res \
LOCAL_STATIC_ANDROID_LIBRARIES := \
androidx.design_design \
androidx.legacy_legacy-support-v4 \
androidx.appcompat_appcompat \
androidx.cardview_cardview \
androidx.recyclerview_recyclerview \
androidx.leanback_leanback \
LOCAL_STATIC_JAVA_LIBRARIES := \
apache-commons-math \
junit
LOCAL_PACKAGE_NAME := JankBench
LOCAL_COMPATIBILITY_SUITE := device-tests
include $(BUILD_PACKAGE)