1# Copyright 2023 Android Open Source Project 2# SPDX-License-Identifier: MIT 3 4build = 'both' 5 6with_guest = build.contains('guest') or build.contains('both') 7with_host = build.contains('host') or build.contains('both') 8 9#========================# 10# Logging + error report # 11#========================# 12log_level = 'error' 13 14#===============# 15# Decoders # 16#===============# 17decoders = 'vulkan' 18with_guest = true 19with_host = true 20 21genvk = files('codegen/vulkan/vulkan-docs-next/scripts/genvk.py') 22vk_gfxstream_xml = files('codegen/vulkan/vulkan-docs-next/xml/vk_gfxstream.xml') 23 24use_auto = decoders.contains('auto') and with_host 25use_gles = decoders.contains('gles') and with_host 26use_vulkan = decoders.contains('vulkan') and with_host 27use_magma = decoders.contains('magma') and with_host 28use_composer = decoders.contains('composer') and with_host 29 30if with_guest 31 subdir('guest') 32endif 33if with_host 34 subdir('common') 35 #subdir('host') 36endif 37