1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_MODULE_TAGS := tests 5 LOCAL_SDK_VERSION := current 6 LOCAL_MIN_SDK_VERSION := 21 7 8 # omit gradle 'build' dir 9 LOCAL_SRC_FILES := $(call all-java-files-under,src) 10 11 # use appcompat/support lib from the tree, so improvements/ 12 # regressions are reflected in test data 13 LOCAL_RESOURCE_DIR := \ 14 $(LOCAL_PATH)/res \ 15 frameworks/support/design/res \ 16 frameworks/support/v7/appcompat/res \ 17 frameworks/support/v7/cardview/res \ 18 frameworks/support/v7/recyclerview/res \ 19 frameworks/support/v17/leanback/res 20 21 LOCAL_AAPT_FLAGS := \ 22 --auto-add-overlay \ 23 --extra-packages android.support.design \ 24 --extra-packages android.support.v7.appcompat \ 25 --extra-packages android.support.v7.cardview \ 26 --extra-packages android.support.v7.recyclerview \ 27 --extra-packages android.support.v17.leanback 28 29 LOCAL_STATIC_JAVA_LIBRARIES := \ 30 android-support-design \ 31 android-support-v4 \ 32 android-support-v7-appcompat \ 33 android-support-v7-cardview \ 34 android-support-v7-recyclerview \ 35 android-support-v17-leanback 36 37 LOCAL_PACKAGE_NAME := UiBench 38 39 LOCAL_COMPATIBILITY_SUITE := device-tests 40 41 include $(BUILD_PACKAGE) 42