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 libstlport \ 17 libutils \ 18 libgui \ 19 20LOCAL_STATIC_LIBRARIES := \ 21 libgtest \ 22 libgtest_main \ 23 24LOCAL_C_INCLUDES := \ 25 bionic \ 26 bionic/libc/private \ 27 bionic/libstdc++/include \ 28 external/gtest/include \ 29 external/stlport/stlport \ 30 frameworks/native/opengl/libs \ 31 frameworks/native/opengl/libs/EGL \ 32 33# gold in binutils 2.22 will warn about the usage of mktemp 34LOCAL_LDFLAGS += -Wl,--no-fatal-warnings 35 36include $(BUILD_EXECUTABLE) 37 38# Include subdirectory makefiles 39# ============================================================ 40 41# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework 42# team really wants is to build the stuff defined by this makefile. 43ifeq (,$(ONE_SHOT_MAKEFILE)) 44include $(call first-makefiles-under,$(LOCAL_PATH)) 45endif 46