Path: blob/21.2-virgl/src/gallium/frontends/va/meson.build
4561 views
# Copyright © 2017-2019 Intel Corporation12# Permission is hereby granted, free of charge, to any person obtaining a copy3# of this software and associated documentation files (the "Software"), to deal4# in the Software without restriction, including without limitation the rights5# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell6# copies of the Software, and to permit persons to whom the Software is7# furnished to do so, subject to the following conditions:89# The above copyright notice and this permission notice shall be included in10# all copies or substantial portions of the Software.1112# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR13# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,14# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE15# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER16# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,17# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE18# SOFTWARE.1920libva_version = dep_va.version().split('.')2122libva_st = static_library(23'va_st',24files(25'buffer.c', 'config.c', 'context.c', 'display.c', 'image.c', 'picture.c',26'picture_mpeg12.c', 'picture_mpeg4.c', 'picture_h264.c', 'picture_hevc.c',27'picture_vc1.c', 'picture_mjpeg.c', 'picture_vp9.c','postproc.c',28'subpicture.c', 'surface.c', 'picture_h264_enc.c', 'picture_hevc_enc.c',29),30c_args : [31'-DVA_DRIVER_INIT_FUNC=__vaDriverInit_@0@_@1@'.format(32libva_version[0], libva_version[1]33),34],35gnu_symbol_visibility : 'hidden',36include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],37dependencies : [38dep_va_headers, dep_x11_xcb, dep_xcb, dep_xcb_dri2, dep_xcb_dri3,39dep_libdrm, idep_mesautil,40],41)424344