2011-08-31 01:48:11 +00:00
|
|
|
# Build the unit tests,
|
2011-03-08 20:18:54 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2012-06-13 23:32:25 +00:00
|
|
|
LOCAL_MODULE := libgui_test
|
2011-03-11 00:24:46 +00:00
|
|
|
|
|
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
2012-08-31 22:32:45 +00:00
|
|
|
BufferQueue_test.cpp \
|
2012-06-13 23:32:25 +00:00
|
|
|
CpuConsumer_test.cpp \
|
2013-12-03 20:37:36 +00:00
|
|
|
FillBuffer.cpp \
|
2013-11-26 23:10:10 +00:00
|
|
|
GLTest.cpp \
|
2013-11-19 00:58:36 +00:00
|
|
|
IGraphicBufferProducer_test.cpp \
|
2013-12-03 20:37:36 +00:00
|
|
|
MultiTextureConsumer_test.cpp \
|
2013-12-11 23:21:11 +00:00
|
|
|
SRGB_test.cpp \
|
2014-03-28 22:34:33 +00:00
|
|
|
StreamSplitter_test.cpp \
|
2011-03-08 20:18:54 +00:00
|
|
|
SurfaceTextureClient_test.cpp \
|
2013-12-03 20:37:36 +00:00
|
|
|
SurfaceTextureFBO_test.cpp \
|
|
|
|
SurfaceTextureGLThreadToGL_test.cpp \
|
|
|
|
SurfaceTextureGLToGL_test.cpp \
|
|
|
|
SurfaceTextureGL_test.cpp \
|
|
|
|
SurfaceTextureMultiContextGL_test.cpp \
|
2012-06-13 23:32:25 +00:00
|
|
|
Surface_test.cpp \
|
2013-12-03 20:37:36 +00:00
|
|
|
TextureRenderer.cpp \
|
2011-03-08 20:18:54 +00:00
|
|
|
|
2011-03-11 00:24:46 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
libEGL \
|
2013-04-17 06:32:38 +00:00
|
|
|
libGLESv1_CM \
|
2011-03-11 00:24:46 +00:00
|
|
|
libGLESv2 \
|
2011-03-08 20:18:54 +00:00
|
|
|
libbinder \
|
2011-03-11 00:24:46 +00:00
|
|
|
libcutils \
|
2011-03-08 20:18:54 +00:00
|
|
|
libgui \
|
|
|
|
libstlport \
|
2012-06-13 23:32:25 +00:00
|
|
|
libsync \
|
2012-04-17 00:54:33 +00:00
|
|
|
libui \
|
|
|
|
libutils \
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
|
|
bionic \
|
|
|
|
bionic/libstdc++/include \
|
|
|
|
external/gtest/include \
|
|
|
|
external/stlport/stlport \
|
|
|
|
|
|
|
|
# Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
|
|
|
|
# to integrate with auto-test framework.
|
|
|
|
include $(BUILD_NATIVE_TEST)
|
|
|
|
|
2011-03-08 20:18:54 +00:00
|
|
|
# Include subdirectory makefiles
|
|
|
|
# ============================================================
|
|
|
|
|
|
|
|
# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
|
|
|
|
# team really wants is to build the stuff defined by this makefile.
|
|
|
|
ifeq (,$(ONE_SHOT_MAKEFILE))
|
|
|
|
include $(call first-makefiles-under,$(LOCAL_PATH))
|
|
|
|
endif
|