Home | History | Annotate | Download | only in tests
      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 # Include all test java files.
     11 LOCAL_SRC_FILES := $(call all-java-files-under, src)
     12 
     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))
     18 
     19 LOCAL_STATIC_JAVA_LIBRARIES += \
     20         mockito-target
     21 
     22 LOCAL_PACKAGE_NAME := DialerTests
     23 
     24 LOCAL_INSTRUMENTATION_FOR := Dialer
     25 
     26 LOCAL_SDK_VERSION := current
     27 
     28 include $(BUILD_PACKAGE)
     29