Path: blob/21.2-virgl/src/gallium/frontends/omx/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.1920inc_st_omx = [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux]21dep_st_omx = [22dep_omx, dep_x11_xcb, dep_xcb, dep_xcb_dri2, dep_xcb_dri3, dep_libdrm,23]2425files_omx = files(26'vid_dec_common.c',27'vid_dec_h264_common.c',28'vid_enc_common.c',29'vid_omx_common.c'30)3132if with_gallium_omx == 'bellagio'33files_omx += files(34'bellagio/entrypoint.c',35'bellagio/vid_dec.c',36'bellagio/vid_dec_mpeg12.c',37'bellagio/vid_dec_h264.c',38'bellagio/vid_dec_h265.c',39'bellagio/vid_dec_av1.c',40'bellagio/vid_enc.c'41)42elif with_gallium_omx == 'tizonia'43files_omx += files(44'tizonia/entrypoint.c',45'tizonia/h264d.c',46'tizonia/h264dprc.c',47'tizonia/h264dinport.c',48'tizonia/h264e.c',49'tizonia/h264eprc.c',50'tizonia/h264einport.c',51'tizonia/h264eoutport.c'52)53inc_st_omx = [54inc_st_omx,55inc_dri_common,56inc_loader,57inc_gbm,58inc_st_dri,59inc_egl,60inc_egl_dri2,61]62dep_st_omx = [dep_st_omx, dep_omx_other]63endif6465libomx_st = static_library(66'omx_st',67files_omx,68c_args : ['-fcommon'],69gnu_symbol_visibility : 'hidden',70include_directories : inc_st_omx,71dependencies : [dep_st_omx, idep_mesautil],72)737475