The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | # We only want this apk build for tests. |
| 5 | LOCAL_MODULE_TAGS := tests |
Evan Millar | e49dfac | 2009-06-30 15:21:47 -0700 | [diff] [blame] | 6 | LOCAL_CERTIFICATE := shared |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 7 | |
Jay Shrauner | a1e8995 | 2015-08-27 16:20:51 -0700 | [diff] [blame] | 8 | LOCAL_STATIC_JAVA_LIBRARIES := android-support-test |
Brian Attwell | e867795 | 2015-03-10 11:14:45 -0700 | [diff] [blame] | 9 | |
Walter Jang | 13a9c33 | 2016-08-13 08:35:14 -0700 | [diff] [blame^] | 10 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 11 | LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, res) |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 12 | |
| 13 | LOCAL_PACKAGE_NAME := ContactsTests |
| 14 | |
| 15 | LOCAL_INSTRUMENTATION_FOR := Contacts |
| 16 | |
Jay Shrauner | a1e8995 | 2015-08-27 16:20:51 -0700 | [diff] [blame] | 17 | LOCAL_SDK_VERSION := current |
Walter Jang | fdd3e58 | 2016-04-15 11:08:09 -0700 | [diff] [blame] | 18 | LOCAL_MIN_SDK_VERSION := 21 |
Jay Shrauner | a1e8995 | 2015-08-27 16:20:51 -0700 | [diff] [blame] | 19 | |
Walter Jang | a6fb6d2 | 2016-08-10 09:37:52 -0700 | [diff] [blame] | 20 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 21 | mockito-target |
| 22 | |
| 23 | LOCAL_AAPT_FLAGS := \ |
| 24 | --auto-add-overlay \ |
| 25 | --extra-packages com.android.contacts.common.tests |
| 26 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 27 | include $(BUILD_PACKAGE) |