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
19
20ifeq ($(filter $(NDK_KNOWN_DEVICE_ABI64S),$(TARGET_ARCH_ABI)),)
21LOCAL_SRC_FILES += \
22  libdl_unittest.cc
23endif
24
25LOCAL_STATIC_LIBRARIES := android_support minitest
26include $(BUILD_EXECUTABLE)
27
28# Include the android_support module definitions.
29include $(LOCAL_PATH)/../Android.mk
30
31