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 8 LOCAL_STATIC_JAVA_LIBRARIES := android-support-test 9 10 src_dirs := src \ 11 ../../ContactsCommon/TestCommon/src 12 13 # Include all test java files. 14 LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) 15 16 LOCAL_PACKAGE_NAME := ContactsTests 17 18 LOCAL_INSTRUMENTATION_FOR := Contacts 19 20 LOCAL_SDK_VERSION := current 21 LOCAL_MIN_SDK_VERSION := 21 22 23 include $(BUILD_PACKAGE) 24