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