blob: 96e87de3c141b324471d5afd7d7f8bb45cdb24f3 [file] [log] [blame]
LOCAL_PATH := $(call my-dir)
### EGL host implementation ########################
$(call emugl-begin-host-shared-library,libEGL_translator)
$(call emugl-import,libGLcommon)
OS_SRCS:=
ifeq ($(HOST_OS),linux)
OS_SRCS = EglX11Api.cpp
LOCAL_LDLIBS += -lX11 -lGL -ldl -lpthread
endif
ifeq ($(HOST_OS),darwin)
OS_SRCS = EglMacApi.cpp \
MacNative.m \
MacPixelFormatsAttribs.m
LOCAL_LDLIBS += -Wl,-framework,AppKit
endif
ifeq ($(HOST_OS),windows)
OS_SRCS = EglWindowsApi.cpp
LOCAL_LDLIBS += -lopengl32 -lgdi32
endif
LOCAL_SRC_FILES := \
$(OS_SRCS) \
ThreadInfo.cpp \
EglImp.cpp \
EglConfig.cpp \
EglContext.cpp \
EglGlobalInfo.cpp \
EglValidate.cpp \
EglSurface.cpp \
EglWindowSurface.cpp \
EglPbufferSurface.cpp \
EglPixmapSurface.cpp \
EglThreadInfo.cpp \
EglDisplay.cpp \
ClientAPIExts.cpp
$(call emugl-end-module)