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_JAVA_LIBRARIES := android.test.runner
      8 
      9 # Include all test java files.
     10 LOCAL_SRC_FILES := $(call all-java-files-under, src)
     11 
     12 # Notice that we don't have to include the src files of ApiDemos because, by
     13 # running the tests using an instrumentation targeting ApiDemos, we
     14 # automatically get all of its classes loaded into our environment.
     15 
     16 LOCAL_PACKAGE_NAME := ApiDemosTests
     17 
     18 LOCAL_INSTRUMENTATION_FOR := ApiDemos
     19 
     20 LOCAL_SDK_VERSION := current
     21 
     22 include $(BUILD_PACKAGE)
     23 
     24