1# The source files are actually located under ../unit 2LOCAL_PATH := $(dir $(call my-dir)) 3 4include $(CLEAR_VARS) 5LOCAL_MODULE := test_stlport 6 7unit_path := $(dir $(LOCAL_PATH))/unit 8sources := $(wildcard $(unit_path)/*.cpp $(unit_path)/*.c) 9sources := $(sources:$(LOCAL_PATH)/%=%) 10 11# Both a C and a C++ source file with the same basename 12sources := $(filter-out unit/string_header_test.c,$(sources)) 13 14# Exceptions are disabled for now 15sources := $(filter-out unit/exception_test.cpp,$(sources)) 16 17# This test enters an infinit loop for unknown reasons! 18sources := $(filter-out unit/codecvt_test.cpp,$(sources)) 19 20LOCAL_SRC_FILES := $(sources) 21LOCAL_SRC_FILES += unit/cppunit/test_main.cpp 22 23LOCAL_SHARED_LIBRARIES := libstlport_shared 24 25include $(BUILD_EXECUTABLE) 26 27$(call import-module,cxx-stl/stlport)