This is the first commit for the GLESv1 implementation. It also includes needed fixes in emugen to support const types. Also, changed glFinish definition in gl.in to match the definition as in gl.h. Change-Id: I90262a1db6035a90af8db17984acecef6499847a
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
LOCAL_PATH := $(call my-dir)
|
|
emulatorOpengl := $(LOCAL_PATH)/../..
|
|
|
|
### EGL implementation ###########################################
|
|
include $(CLEAR_VARS)
|
|
|
|
# add additional depencies to ensure that the generated code that we depend on
|
|
# is generated
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := \
|
|
$(TARGET_OUT_SHARED_LIBRARIES)/lib_renderControl_enc$(TARGET_SHLIB_SUFFIX) \
|
|
$(TARGET_OUT_SHARED_LIBRARIES)/libGLESv1_enc$(TARGET_SHLIB_SUFFIX)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
gl.cpp
|
|
|
|
|
|
LOCAL_PRELINK_MODULE := false
|
|
LOCAL_CFLAGS += -DLOG_TAG=\"GLES_emulation\"
|
|
LOCAL_C_INCLUDES += \
|
|
$(emulatorOpengl)/host/include/libOpenglRender \
|
|
$(emulatorOpengl)/shared/OpenglCodecCommon \
|
|
$(emulatorOpengl)/system/OpenglSystemCommon \
|
|
$(emulatorOpengl)/system/GLESv1_enc \
|
|
$(emulatorOpengl)/system/renderControl_enc \
|
|
$(call intermediates-dir-for, SHARED_LIBRARIES, lib_renderControl_enc) \
|
|
$(call intermediates-dir-for, SHARED_LIBRARIES, libGLESv1_enc)
|
|
|
|
LOCAL_MODULE_TAGS := debug
|
|
LOCAL_MODULE := libGL_emulation
|
|
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
|
|
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libOpenglSystemCommon \
|
|
libOpenglCodecCommon \
|
|
libqemu
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
libutils \
|
|
libdl \
|
|
libGLESv1_enc \
|
|
lib_renderControl_enc
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|