1# Copyright 2022 Android Open Source Project 2# SPDX-License-Identifier: MIT 3 4#===============# 5# Options # 6#===============# 7 8with_vulkan_icd_dir = get_option('vulkan-icd-dir') 9if with_vulkan_icd_dir == '' 10 with_vulkan_icd_dir = join_paths(get_option('datadir'), 'vulkan/icd.d') 11endif 12 13#===============# 14# Configuration # 15#===============# 16gfxstream_guest_args = [] 17 18# Our internal guest build 19if host_machine.system() == 'windows' 20 gfxstream_guest_args += '-DWINDOWS_GUEST_BUILD' 21else 22 gfxstream_guest_args += '-DLINUX_GUEST_BUILD' 23endif 24# Include the gfxstream private VkStructureType definitions 25gfxstream_guest_args += '-DVK_GFXSTREAM_STRUCTURE_TYPE_EXT' 26 27#===============# 28# Dependencies # 29#===============# 30 31with_kumquat = false 32virtgpu_kumquat_dep = dependency('virtgpu_kumquat_ffi', required: false) 33if virtgpu_kumquat_dep.found() 34 with_kumquat = true 35endif 36 37#===============# 38# Includes # 39#===============# 40 41inc_vulkan_headers = include_directories('../../../include/vulkan') 42inc_vulkan_enc = include_directories('vulkan_enc') 43 44#================# 45# Subdirectories # 46#================# 47subdir('iostream') 48subdir('platform') 49subdir('GoldfishAddressSpace') 50subdir('connection-manager') 51subdir('vulkan_enc') 52subdir('vulkan') 53