Files
android_development/tools/emulator/opengl/tests/ut_renderer/Android.mk
David 'Digit' Turner 8422a11a21 emulator: opengl: Update/simplify build scripts
This patch is a major rework of the build opengl-emulation
build scripts. See README for details.

In a nutshell, this introduces various functions that considerably
simplify the declaration of the 26+ modules in this implementation,
by handling auto-generation of sources and module imports/exports.

Change-Id: I827522d783c7b6cf5eafd37204a1025c235458cd
2011-06-23 00:35:54 +02:00

31 lines
793 B
Makefile

LOCAL_PATH:=$(call my-dir)
ifeq ($(HOST_OS), linux)
$(call emugl-begin-host-executable,ut_renderer)
$(call emugl-import,libut_rendercontrol_dec libGLESv1_dec libGLESv2_dec libEGL_host_wrapper)
LOCAL_SRC_FILES := ut_renderer.cpp \
RenderingThread.cpp \
ReadBuffer.cpp \
Renderer.cpp \
RendererContext.cpp \
RendererSurface.cpp \
X11Windowing.cpp
# define PVR_WAR to support imgtec PVR opengl-ES implementation
#
# specifically this MACRO enables code that work arounds a bug
# in the implementation where glTextureParameter(...,GL_TEXTURE_RECT,...)
# is called would cause a crash if the texture dimensions have not been
# defined yet.
LOCAL_CFLAGS += -DPVR_WAR
#LOCAL_CFLAGS += -g -O0
LOCAL_LDLIBS += -lpthread -lX11 -lrt
$(call emugl-end-module)
endif # HOST_OS == linux