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 
      7 LOCAL_STATIC_JAVA_LIBRARIES := \
      8     ContactsProviderTestUtils \
      9     android-support-test \
     10     mockito-target-minus-junit4
     11 
     12 LOCAL_JAVA_LIBRARIES := android.test.runner android.test.base android.test.mock
     13 
     14 # Only compile source java files in this apk.
     15 LOCAL_SRC_FILES := $(call all-java-files-under, src)
     16 
     17 LOCAL_PACKAGE_NAME := ContactsProviderTests
     18 LOCAL_PRIVATE_PLATFORM_APIS := true
     19 LOCAL_COMPATIBILITY_SUITE := device-tests
     20 
     21 LOCAL_INSTRUMENTATION_FOR := ContactsProvider
     22 LOCAL_CERTIFICATE := shared
     23 
     24 LOCAL_PROGUARD_ENABLED := disabled
     25 
     26 include $(BUILD_PACKAGE)
     27