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_stlport
      6 
      7 unit_path := $(dir $(LOCAL_PATH))/unit
      8 sources := $(wildcard $(unit_path)/*.cpp $(unit_path)/*.c)
      9 sources := $(sources:$(LOCAL_PATH)/%=%)
     10 
     11 # Both a C and a C++ source file with the same basename
     12 sources := $(filter-out unit/string_header_test.c,$(sources))
     13 
     14 # Exceptions are disabled for now
     15 sources := $(filter-out unit/exception_test.cpp,$(sources))
     16 
     17 # This test enters an infinit loop for unknown reasons!
     18 sources := $(filter-out unit/codecvt_test.cpp,$(sources))
     19 
     20 LOCAL_SRC_FILES := $(sources)
     21 LOCAL_SRC_FILES += unit/cppunit/test_main.cpp
     22 
     23 LOCAL_STATIC_LIBRARIES := stlport_static
     24 include $(BUILD_EXECUTABLE)
     25 
     26 $(call import-module,android/stlport)
     27 
     28