Files
android_development/tools/emulator/opengl/host/renderer/Android.mk
Guy Zadickario b68a421908 opengl renderer: Enable and fix renderer Mac support
The following enables the renderer build on darwin.
Moved platform specific type declarations from render_api.h
to render_api_platform_types.h so it can be included from the
objective c code.
Fixed subwindow to use EmuGLView which overrides NSView to prevent
background drawing of the view.
2011-07-03 15:40:52 +03:00

32 lines
790 B
Makefile

LOCAL_PATH:=$(call my-dir)
# host renderer process ###########################
include $(CLEAR_VARS)
emulatorOpengl := $(LOCAL_PATH)/../..
LOCAL_MODULE := emulator_renderer
LOCAL_MODULE_TAGS := debug
LOCAL_SRC_FILES := \
main.cpp
LOCAL_CFLAGS += -g -O0
LOCAL_C_INCLUDES := $(emulatorOpengl)/host/include \
$(emulatorOpengl)/host/include/libOpenglRender \
$(emulatorOpengl)/shared/OpenglOsUtils \
$(emulatorOpengl)/shared/OpenglCodecCommon \
$(emulatorOpengl)/host/libs/libOpenglRender
ifeq ($(HOST_OS),windows)
LOCAL_LDLIBS += -lws2_32
endif
LOCAL_SHARED_LIBRARIES := libOpenglRender \
libGLESv1_dec \
libGLESv2_dec \
lib_renderControl_dec
include $(BUILD_HOST_EXECUTABLE)