blob: f8f5cb3c3a4606b431a5f75c12a5c301a42920c3 [file] [log] [blame]
# The source files are actually located under ../unit
LOCAL_PATH := $(dir $(call my-dir))
include $(CLEAR_VARS)
LOCAL_MODULE := test_stlport
unit_path := $(dir $(LOCAL_PATH))/unit
sources := $(wildcard $(unit_path)/*.cpp $(unit_path)/*.c)
sources := $(sources:$(LOCAL_PATH)/%=%)
# Both a C and a C++ source file with the same basename
sources := $(filter-out unit/string_header_test.c,$(sources))
# Exceptions are disabled for now
sources := $(filter-out unit/exception_test.cpp,$(sources))
# This test enters an infinit loop for unknown reasons!
sources := $(filter-out unit/codecvt_test.cpp,$(sources))
LOCAL_SRC_FILES := $(sources)
LOCAL_SRC_FILES += unit/cppunit/test_main.cpp
LOCAL_STATIC_LIBRARIES := stlport_static
include $(BUILD_EXECUTABLE)
$(call import-module,android/stlport)