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