Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [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 |
| 6 | LOCAL_CERTIFICATE := shared |
| 7 | |
Jay Shrauner | 16b6849 | 2015-08-27 16:24:40 -0700 | [diff] [blame] | 8 | LOCAL_STATIC_JAVA_LIBRARIES := android-support-test |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 9 | |
| 10 | # Include all test java files. |
| 11 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 12 | |
Brian Attwell | 4639045 | 2015-04-01 16:42:33 -0700 | [diff] [blame] | 13 | src_dirs := src \ |
| 14 | ../../ContactsCommon/TestCommon/src |
| 15 | |
| 16 | # Include all test java files. |
| 17 | LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 18 | |
Yorke Lee | 545a779 | 2015-09-29 15:02:34 -0700 | [diff] [blame] | 19 | LOCAL_STATIC_JAVA_LIBRARIES += \ |
| 20 | mockito-target |
| 21 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 22 | LOCAL_PACKAGE_NAME := DialerTests |
| 23 | |
| 24 | LOCAL_INSTRUMENTATION_FOR := Dialer |
| 25 | |
Jay Shrauner | 16b6849 | 2015-08-27 16:24:40 -0700 | [diff] [blame] | 26 | LOCAL_SDK_VERSION := current |
| 27 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 28 | include $(BUILD_PACKAGE) |