1LOCAL_PATH := $(call my-dir) 2 3$(call emugl-begin-shared-library,vulkan.ranchu) 4$(call emugl-set-shared-library-subpath,hw) 5$(call emugl-export,C_INCLUDES,$(LOCAL_PATH)) 6$(call emugl-import,libOpenglSystemCommon libvulkan_enc lib_renderControl_enc) 7$(call emugl-import,libOpenglCodecCommon$(GOLDFISH_OPENGL_LIB_SUFFIX)) 8 9# Vulkan include dir 10ifeq (true,$(GOLDFISH_OPENGL_BUILD_FOR_HOST)) 11 12LOCAL_C_INCLUDES += $(HOST_EMUGL_PATH)/host/include 13 14endif 15 16ifneq (true,$(GOLDFISH_OPENGL_BUILD_FOR_HOST)) 17 18# Only import androidemu if not building for host. 19# if building for host, we already import android-emu. 20$(call emugl-export,SHARED_LIBRARIES,libandroidemu) 21 22LOCAL_HEADER_LIBRARIES += \ 23 hwvulkan_headers \ 24 vulkan_headers \ 25 26endif 27 28LOCAL_CFLAGS += \ 29 -DLOG_TAG=\"goldfish_vulkan\" \ 30 -Wno-missing-field-initializers \ 31 -fvisibility=hidden \ 32 -fstrict-aliasing \ 33 -DVK_USE_PLATFORM_ANDROID_KHR \ 34 -DVK_NO_PROTOTYPES \ 35 -Wno-unused-parameter \ 36 -Wno-unused-function 37 38LOCAL_SRC_FILES := \ 39 func_table.cpp \ 40 goldfish_vulkan.cpp \ 41 42$(call emugl-end-module) 43