1# Build the unit tests. 2LOCAL_PATH:= $(call my-dir) 3include $(CLEAR_VARS) 4 5LOCAL_MODULE := EGL_test 6 7LOCAL_MODULE_TAGS := tests 8 9LOCAL_SRC_FILES := \ 10 egl_cache_test.cpp \ 11 EGL_test.cpp \ 12 13LOCAL_SHARED_LIBRARIES := \ 14 libEGL \ 15 libcutils \ 16 libbinder \ 17 libstlport \ 18 libutils \ 19 libgui \ 20 21LOCAL_STATIC_LIBRARIES := \ 22 libgtest \ 23 libgtest_main \ 24 25LOCAL_C_INCLUDES := \ 26 bionic \ 27 bionic/libc/private \ 28 bionic/libstdc++/include \ 29 external/gtest/include \ 30 external/stlport/stlport \ 31 frameworks/native/opengl/libs \ 32 frameworks/native/opengl/libs/EGL \ 33 34# gold in binutils 2.22 will warn about the usage of mktemp 35LOCAL_LDFLAGS += -Wl,--no-fatal-warnings 36 37include $(BUILD_EXECUTABLE) 38 39# Include subdirectory makefiles 40# ============================================================ 41 42# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework 43# team really wants is to build the stuff defined by this makefile. 44ifeq (,$(ONE_SHOT_MAKEFILE)) 45include $(call first-makefiles-under,$(LOCAL_PATH)) 46endif 47