Import EGL/GLES translator
This commit is contained in:
parent
7644d86e40
commit
085e3c56a3
91 changed files with 17910 additions and 8 deletions
43
external/android-emugl/host/libs/Translator/GLcommon/Android.mk
vendored
Normal file
43
external/android-emugl/host/libs/Translator/GLcommon/Android.mk
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
host_common_SRC_FILES := \
|
||||
GLDispatch.cpp \
|
||||
GLutils.cpp \
|
||||
GLEScontext.cpp \
|
||||
GLESvalidate.cpp \
|
||||
GLESpointer.cpp \
|
||||
GLESbuffer.cpp \
|
||||
RangeManip.cpp \
|
||||
TextureUtils.cpp \
|
||||
PaletteTexture.cpp \
|
||||
etc1.cpp \
|
||||
objectNameManager.cpp \
|
||||
FramebufferData.cpp
|
||||
|
||||
host_GL_COMMON_LINKER_FLAGS :=
|
||||
host_common_LDLIBS :=
|
||||
host_common_LDFLAGS :=
|
||||
|
||||
ifeq ($(BUILD_TARGET_OS),linux)
|
||||
# host_common_LDFLAGS += -Wl,--whole-archive
|
||||
host_common_LDLIBS += -ldl
|
||||
host_common_LDFLAGS += -Wl,-Bsymbolic
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_TARGET_OS),windows)
|
||||
host_common_LDLIBS += -lgdi32
|
||||
host_common_LDFLAGS += -Wl,--add-stdcall-alias
|
||||
endif
|
||||
|
||||
### EGL host implementation ########################
|
||||
|
||||
$(call emugl-begin-host-static-library,libGLcommon)
|
||||
|
||||
LOCAL_SRC_FILES := $(host_common_SRC_FILES)
|
||||
$(call emugl-export,LDLIBS,$(host_common_LDLIBS))
|
||||
$(call emugl-export,LDFLAGS,$(host_common_LDFLAGS))
|
||||
$(call emugl-export,C_INCLUDES,$(LOCAL_PATH)/../include $(EMUGL_PATH)/shared)
|
||||
$(call emugl-export,STATIC_LIBRARIES, libemugl_common)
|
||||
|
||||
$(call emugl-end-module)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue