Android.mk revision 999782fa3ff94607c0a814c8d447fad38c2c4c57
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 AData_test.cpp \ 12 Base64_test.cpp \ 13 Flagged_test.cpp \ 14 TypeTraits_test.cpp \ 15 Utils_test.cpp \ 16 17LOCAL_SHARED_LIBRARIES := \ 18 liblog \ 19 libstagefright_foundation \ 20 libutils \ 21 22LOCAL_C_INCLUDES := \ 23 frameworks/av/include \ 24 25LOCAL_CFLAGS += -Werror -Wall 26LOCAL_CLANG := true 27 28include $(BUILD_NATIVE_TEST) 29 30# Include subdirectory makefiles 31# ============================================================ 32 33# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework 34# team really wants is to build the stuff defined by this makefile. 35ifeq (,$(ONE_SHOT_MAKEFILE)) 36include $(call first-makefiles-under,$(LOCAL_PATH)) 37endif 38