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 | |
| 10 | src_dirs := src \ |
Jay Shrauner | a1e8995 | 2015-08-27 16:20:51 -0700 | [diff] [blame] | 11 | ../../ContactsCommon/TestCommon/src |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 12 | |
| 13 | # Include all test java files. |
Brian Attwell | e867795 | 2015-03-10 11:14:45 -0700 | [diff] [blame] | 14 | LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 15 | |
| 16 | LOCAL_PACKAGE_NAME := ContactsTests |
| 17 | |
| 18 | LOCAL_INSTRUMENTATION_FOR := Contacts |
| 19 | |
Jay Shrauner | a1e8995 | 2015-08-27 16:20:51 -0700 | [diff] [blame] | 20 | LOCAL_SDK_VERSION := current |
Walter Jang | fdd3e58 | 2016-04-15 11:08:09 -0700 | [diff] [blame^] | 21 | LOCAL_MIN_SDK_VERSION := 21 |
Jay Shrauner | a1e8995 | 2015-08-27 16:20:51 -0700 | [diff] [blame] | 22 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 23 | include $(BUILD_PACKAGE) |