Android.mk revision d8e812ce6fe9ae0388e98b08456e1d18b9498239
1# Build the unit tests, 2LOCAL_PATH:= $(call my-dir) 3include $(CLEAR_VARS) 4 5LOCAL_MODULE := libgui_test 6 7LOCAL_MODULE_TAGS := tests 8 9LOCAL_SRC_FILES := \ 10 CpuConsumer_test.cpp \ 11 SurfaceTextureClient_test.cpp \ 12 SurfaceTexture_test.cpp \ 13 Surface_test.cpp \ 14 15LOCAL_SHARED_LIBRARIES := \ 16 libEGL \ 17 libGLESv2 \ 18 libbinder \ 19 libcutils \ 20 libgui \ 21 libstlport \ 22 libsync \ 23 libui \ 24 libutils \ 25 26LOCAL_C_INCLUDES := \ 27 bionic \ 28 bionic/libstdc++/include \ 29 external/gtest/include \ 30 external/stlport/stlport \ 31 32# Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE) 33# to integrate with auto-test framework. 34include $(BUILD_NATIVE_TEST) 35 36# Include subdirectory makefiles 37# ============================================================ 38 39# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework 40# team really wants is to build the stuff defined by this makefile. 41ifeq (,$(ONE_SHOT_MAKEFILE)) 42include $(call first-makefiles-under,$(LOCAL_PATH)) 43endif 44