blob: 8ec1b9f8586cb7a03b6d7f7faaaf78c44dd05075 [file] [log] [blame]
LOCAL_PATH:=$(call my-dir)
# For now, OS X is not supported
ifneq ($(HOST_OS),darwin)
$(call emugl-begin-host-executable,emulator_test_renderer)
$(call emugl-import,libOpenglRender)
LOCAL_SRC_FILES := main.cpp
PREBUILT := $(HOST_PREBUILT_TAG)
SDL_CONFIG ?= prebuilt/$(PREBUILT)/sdl/bin/sdl-config
SDL_CFLAGS := $(shell $(SDL_CONFIG) --cflags)
SDL_LDLIBS := $(filter-out %.a %.lib,$(shell $(SDL_CONFIG) --static-libs))
LOCAL_CFLAGS += $(SDL_CFLAGS) -g -O0
LOCAL_LDLIBS += $(SDL_LDLIBS)
LOCAL_STATIC_LIBRARIES += libSDL libSDLmain
$(call emugl-end-module)
endif # HOST_OS != darwin