This reverts commit 0bf6848571.
This commit breaks Mca builds:
development/tools/emulator/opengl/host/libs/Translator/EGL/EglImp.cpp: In function 'EGLBoolean eglChooseConfig(void*, const EGLint*, void**, EGLint, EGLint*)':
development/tools/emulator/opengl/host/libs/Translator/EGL/EglImp.cpp:412: error: 'PIXEL_FORMAT_INITIALIZER' was not declared in this scope
make: *** [out/host/darwin-x86/obj/SHARED_LIBRARIES/libEGL_translator_intermediates/EglImp.o] Error 1
45 lines
899 B
Makefile
45 lines
899 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
emulatorOpengl := $(LOCAL_PATH)/../..
|
|
|
|
### OpenglOsUtils ##############################################
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
osProcessUnix.cpp \
|
|
osThreadUnix.cpp \
|
|
osDynLibrary.cpp
|
|
|
|
LOCAL_MODULE_TAGS := debug
|
|
LOCAL_MODULE := libOpenglOsUtils
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
### OpenglOsUtils host ##############################################
|
|
include $(CLEAR_VARS)
|
|
|
|
ifneq ($(HOST_OS),windows)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
osProcessUnix.cpp \
|
|
osThreadUnix.cpp \
|
|
osDynLibrary.cpp
|
|
|
|
else # windows
|
|
|
|
LOCAL_SRC_FILES := \
|
|
osProcessWin.cpp \
|
|
osThreadWin.cpp \
|
|
osDynLibrary.cpp
|
|
|
|
endif # windows
|
|
|
|
ifneq (,$(LOCAL_SRC_FILES)) # do not build if host platform not supported
|
|
|
|
LOCAL_MODULE_TAGS := debug
|
|
LOCAL_MODULE := libOpenglOsUtils
|
|
|
|
include $(BUILD_HOST_STATIC_LIBRARY)
|
|
|
|
endif
|