Android.mk revision fba972f9d7f87c47ac0820b7f99420acc7e5dc36
1# Build the unit tests.
2LOCAL_PATH:= $(call my-dir)
3include $(CLEAR_VARS)
4LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
5
6LOCAL_MODULE := sf_foundation_test
7
8LOCAL_MODULE_TAGS := tests
9
10LOCAL_SRC_FILES := \
11	Flagged_test.cpp \
12	TypeTraits_test.cpp \
13	Utils_test.cpp \
14
15LOCAL_SHARED_LIBRARIES := \
16	libstagefright_foundation \
17
18LOCAL_C_INCLUDES := \
19	frameworks/av/include \
20
21LOCAL_CFLAGS += -Werror -Wall
22LOCAL_CLANG := true
23
24include $(BUILD_NATIVE_TEST)
25
26# Include subdirectory makefiles
27# ============================================================
28
29# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
30# team really wants is to build the stuff defined by this makefile.
31ifeq (,$(ONE_SHOT_MAKEFILE))
32include $(call first-makefiles-under,$(LOCAL_PATH))
33endif
34