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