1LOCAL_PATH:=$(call my-dir) 2 3$(call emugl-begin-host-executable,emulator_test_renderer) 4$(call emugl-import,libOpenglRender event_injector) 5 6LOCAL_SRC_FILES := main.cpp 7 8PREBUILT := $(HOST_PREBUILT_TAG) 9LOCAL_SDL_CONFIG ?= prebuilts/tools/$(PREBUILT)/sdl/bin/sdl-config 10LOCAL_SDL_CFLAGS := $(shell $(LOCAL_SDL_CONFIG) --cflags) 11LOCAL_SDL_LDLIBS := $(filter-out %.a %.lib,$(shell $(LOCAL_SDL_CONFIG) --static-libs)) 12 13LOCAL_CFLAGS += $(LOCAL_SDL_CFLAGS) -g -O0 14LOCAL_LDLIBS += $(LOCAL_SDL_LDLIBS) 15 16ifeq ($(HOST_OS),windows) 17LOCAL_LDLIBS += -lws2_32 18endif 19 20LOCAL_STATIC_LIBRARIES += libSDL libSDLmain 21 22$(call emugl-end-module) 23