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