Path: blob/21.2-virgl/src/gallium/frontends/xa/meson.build
4561 views
# Copyright © 2017 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.1920xa_version = ['2', '5', '0']2122xa_conf = configuration_data()23xa_conf.set('XA_MAJOR', xa_version[0])24xa_conf.set('XA_MINOR', xa_version[1])25xa_conf.set('XA_PATCH', xa_version[2])2627xa_tracker_h = configure_file(28configuration : xa_conf,29input : 'xa_tracker.h.in',30output : 'xa_tracker.h',31install_dir : get_option('includedir'),32)3334libxa_st = static_library(35'xa_st',36[xa_tracker_h, files(37'xa_composite.c', 'xa_context.c', 'xa_renderer.c', 'xa_tgsi.c',38'xa_tracker.c', 'xa_yuv.c',39)],40c_args : ['-pedantic'],41gnu_symbol_visibility : 'hidden',42dependencies : idep_mesautil,43include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],44)4546install_headers('xa_composite.h', 'xa_context.h')474849