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