Chris Craik | 8a1c0e8 | 2015-08-26 10:47:18 -0700 | [diff] [blame] | 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 := \ |
Chris Craik | 65b04b6 | 2015-08-27 14:34:17 -0700 | [diff] [blame] | 12 | $(LOCAL_PATH)/res \ |
Chris Craik | baf4129 | 2015-08-31 14:51:03 -0700 | [diff] [blame] | 13 | frameworks/support/v7/appcompat/res \ |
Md Haque | d68e8cb | 2015-09-01 12:00:34 -0700 | [diff] [blame] | 14 | frameworks/support/v7/cardview/res \ |
| 15 | frameworks/support/v7/recyclerview/res |
Chris Craik | 8a1c0e8 | 2015-08-26 10:47:18 -0700 | [diff] [blame] | 16 | |
| 17 | LOCAL_AAPT_FLAGS := \ |
Chris Craik | baf4129 | 2015-08-31 14:51:03 -0700 | [diff] [blame] | 18 | --auto-add-overlay \ |
| 19 | --extra-packages android.support.v7.appcompat \ |
Md Haque | d68e8cb | 2015-09-01 12:00:34 -0700 | [diff] [blame] | 20 | --extra-packages android.support.v7.cardview \ |
| 21 | --extra-packages android.support.v7.recyclerview |
Chris Craik | 8a1c0e8 | 2015-08-26 10:47:18 -0700 | [diff] [blame] | 22 | |
| 23 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 24 | android-support-v4 \ |
Chris Craik | baf4129 | 2015-08-31 14:51:03 -0700 | [diff] [blame] | 25 | android-support-v7-appcompat \ |
Md Haque | d68e8cb | 2015-09-01 12:00:34 -0700 | [diff] [blame] | 26 | android-support-v7-cardview \ |
| 27 | android-support-v7-recyclerview |
Chris Craik | 8a1c0e8 | 2015-08-26 10:47:18 -0700 | [diff] [blame] | 28 | |
| 29 | LOCAL_PACKAGE_NAME := UiBench |
| 30 | |
| 31 | include $(BUILD_PACKAGE) |