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
31 lines
721 B
Makefile
31 lines
721 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
ifneq ($(HOST_OS),darwin)
|
|
|
|
### libOpenglRender #################################################
|
|
$(call emugl-begin-host-shared-library,libOpenglRender)
|
|
|
|
$(call emugl-import,libGLESv1_dec lib_renderControl_dec libOpenglCodecCommon libOpenglOsUtils)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
render_api.cpp \
|
|
ColorBuffer.cpp \
|
|
EGLDispatch.cpp \
|
|
FBConfig.cpp \
|
|
FrameBuffer.cpp \
|
|
GLDispatch.cpp \
|
|
GL2Dispatch.cpp \
|
|
RenderContext.cpp \
|
|
WindowSurface.cpp \
|
|
RenderControl.cpp \
|
|
ThreadInfo.cpp \
|
|
RenderThread.cpp \
|
|
ReadBuffer.cpp \
|
|
RenderServer.cpp
|
|
|
|
$(call emugl-export,C_INCLUDES,$(EMUGL_PATH)/host/include)
|
|
|
|
$(call emugl-end-module)
|
|
|
|
endif # HOST_OS != darwin
|