1# Copyright 2023 Android Open Source Project 2# SPDX-License-Identifier: MIT 3 4files_lib_cereal = files( 5 'common/goldfish_vk_extension_structs.cpp', 6 'common/goldfish_vk_marshaling.cpp', 7 'common/goldfish_vk_reserved_marshaling.cpp', 8 'common/goldfish_vk_deepcopy.cpp', 9 'common/goldfish_vk_dispatch.cpp', 10 'common/goldfish_vk_transform.cpp' 11) 12 13cereal_cpp_args = [ 14 '-DVK_GFXSTREAM_STRUCTURE_TYPE_EXT', 15 '-DVK_GOOGLE_address_space', 16] 17 18if host_machine.system() == 'qnx' 19 cereal_cpp_args += '-DVK_USE_PLATFORM_SCREEN_QNX' 20endif 21 22lib_vulkan_cereal = static_library( 23 'cereal', 24 files_lib_cereal, 25 cpp_args: cereal_cpp_args + gfxstream_host_args, 26 include_directories: [inc_cereal, inc_cereal_common, inc_stream_servers, 27 inc_vulkan_server, inc_utils, 28 inc_gfxstream_include, inc_include, inc_vulkan_headers, 29 inc_host_features], 30 dependencies: [aemu_base_dep, aemu_common_dep], 31 link_with: [lib_host_features] 32) 33