Home | History | Annotate | Download | only in tests
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 # Module declaration for the 'minitest' unit-test
      4 # library. Note that it provides a main() implementation.
      5 include $(CLEAR_VARS)
      6 LOCAL_MODULE := minitest
      7 LOCAL_SRC_FILES := minitest/minitest.cc
      8 LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
      9 include $(BUILD_STATIC_LIBRARY)
     10 
     11 # Module declaration for the unit test program.
     12 include $(CLEAR_VARS)
     13 LOCAL_MODULE := android_support_unittests
     14 LOCAL_SRC_FILES := \
     15   ctype_unittest.cc \
     16   math_unittest.cc \
     17   stdio_unittest.cc \
     18   wchar_unittest.cc
     19 LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include
     20 
     21 LOCAL_STATIC_LIBRARIES := android_support minitest
     22 include $(BUILD_EXECUTABLE)
     23 
     24 # Include the android_support module definitions.
     25 $(call import-module,android/support)
     26