summaryrefslogtreecommitdiff
path: root/tests/Android.mk
blob: 07f4f00d9fb0365682ca3b8c1f01ffc12c5fd703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

# We only want this apk build for tests.
LOCAL_MODULE_TAGS := tests
LOCAL_CERTIFICATE := shared

LOCAL_STATIC_JAVA_LIBRARIES := android-support-test

# Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, src)

src_dirs := src \
    ../../ContactsCommon/TestCommon/src

# Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs))

LOCAL_STATIC_JAVA_LIBRARIES += \
        mockito-target

LOCAL_PACKAGE_NAME := DialerTests

LOCAL_INSTRUMENTATION_FOR := Dialer

LOCAL_SDK_VERSION := current

include $(BUILD_PACKAGE)