111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertLOCAL_PATH := $(call my-dir)
211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert
311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert# Module declaration for the 'minitest' unit-test
411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert# library. Note that it provides a main() implementation.
511cd02dfb91661c65134cac258cf5924270e9d2Dan Albertinclude $(CLEAR_VARS)
611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertLOCAL_MODULE := minitest
711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertLOCAL_SRC_FILES := minitest/minitest.cc
811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertLOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
911cd02dfb91661c65134cac258cf5924270e9d2Dan Albertinclude $(BUILD_STATIC_LIBRARY)
1011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert
1111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert# Module declaration for the unit test program.
1211cd02dfb91661c65134cac258cf5924270e9d2Dan Albertinclude $(CLEAR_VARS)
1311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertLOCAL_MODULE := android_support_unittests
1411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertLOCAL_SRC_FILES := \
1511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert  ctype_unittest.cc \
1611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert  math_unittest.cc \
1711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert  stdio_unittest.cc \
1811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert  wchar_unittest.cc
1911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert
2011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertLOCAL_STATIC_LIBRARIES := android_support minitest
2111cd02dfb91661c65134cac258cf5924270e9d2Dan Albertinclude $(BUILD_EXECUTABLE)
2211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert
2311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert# Include the android_support module definitions.
2411cd02dfb91661c65134cac258cf5924270e9d2Dan Albertinclude $(LOCAL_PATH)/../Android.mk
2511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert
26