1# Copyright © 2019 Intel Corporation 2# SPDX-License-Identifier: MIT 3 4vklayer_intel_nullhw_files = files( 5 'intel_nullhw.c', 6) 7 8vklayer_intel_nullhw = shared_library( 9 'VkLayer_INTEL_nullhw', 10 vklayer_intel_nullhw_files, 11 c_args : [no_override_init_args], 12 dependencies : [idep_vulkan_util, idep_mesautil, vulkan_wsi_deps, dep_dl], 13 include_directories : [inc_include, inc_src], 14 link_args : cc.get_supported_link_arguments(['-Wl,-Bsymbolic-functions', '-Wl,-z,relro']), 15 install : true 16) 17 18install_data( 19 files('VkLayer_INTEL_nullhw.json'), 20 install_dir : join_paths(get_option('datadir'), 'vulkan', 'explicit_layer.d'), 21 install_tag : 'runtime', 22) 23