Path: blob/21.2-virgl/src/gallium/frontends/lavapipe/meson.build
4565 views
1lvp_entrypoints = custom_target(2'lvp_entrypoints',3input : [vk_entrypoints_gen, vk_api_xml],4output : ['lvp_entrypoints.h', 'lvp_entrypoints.c'],5command : [6prog_python, '@INPUT0@', '--xml', '@INPUT1@', '--proto', '--weak',7'--out-h', '@OUTPUT0@', '--out-c', '@OUTPUT1@', '--prefix', 'lvp',8],9depend_files : vk_entrypoints_gen_depend_files,10)1112liblvp_files = files(13'lvp_device.c',14'lvp_cmd_buffer.c',15'lvp_descriptor_set.c',16'lvp_execute.c',17'lvp_util.c',18'lvp_image.c',19'lvp_formats.c',20'lvp_lower_vulkan_resource.c',21'lvp_lower_vulkan_resource.h',22'lvp_lower_input_attachments.c',23'lvp_pass.c',24'lvp_pipeline.c',25'lvp_pipeline_cache.c',26'lvp_query.c',27'lvp_wsi.c')2829lvp_deps = []30lvp_flags = []3132if with_platform_x1133lvp_deps += dep_xcb_dri334lvp_flags += [35'-DVK_USE_PLATFORM_XCB_KHR',36'-DVK_USE_PLATFORM_XLIB_KHR',37]38liblvp_files += files('lvp_wsi_x11.c')39endif4041if with_platform_wayland42lvp_deps += dep_wayland_client43lvp_flags += '-DVK_USE_PLATFORM_WAYLAND_KHR'44liblvp_files += files('lvp_wsi_wayland.c')45endif4647if with_platform_windows48lvp_flags += '-DVK_USE_PLATFORM_WIN32_KHR'49liblvp_files += files('lvp_wsi_win32.c')50endif5152liblavapipe_st = static_library(53'lavapipe_st',54[liblvp_files, lvp_entrypoints, sha1_h],55link_with : [ libvulkan_wsi ],56c_args : [ lvp_flags ],57gnu_symbol_visibility : 'hidden',58include_directories : [ inc_include, inc_src, inc_util, inc_gallium, inc_compiler, inc_gallium_aux, inc_vulkan_wsi ],59dependencies : [ idep_nir, idep_mesautil, idep_vulkan_util, lvp_deps ]60)616263