Path: blob/21.2-virgl/src/gallium/drivers/panfrost/meson.build
4570 views
# Copyright © 2017 Intel Corporation1# Copyright © 2018 Alyssa Rosenzweig23# Permission is hereby granted, free of charge, to any person obtaining a copy4# of this software and associated documentation files (the "Software"), to deal5# in the Software without restriction, including without limitation the rights6# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell7# copies of the Software, and to permit persons to whom the Software is8# furnished to do so, subject to the following conditions:910# The above copyright notice and this permission notice shall be included in11# all copies or substantial portions of the Software.1213# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR14# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,15# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE16# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER17# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,18# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE19# SOFTWARE.2021files_panfrost = files(22'pan_public.h',23'pan_screen.c',24'pan_screen.h',25'pan_resource.c',26'pan_resource.h',27'pan_context.c',28'pan_blit.c',29'pan_job.c',30'pan_assemble.c',31'pan_cmdstream.c',32'pan_compute.c',33'pan_mempool.c',34'pan_mempool.h',35)3637panfrost_includes = [38inc_mapi,39inc_mesa,40inc_gallium,41inc_gallium_aux,42inc_include,43inc_src,44inc_panfrost,45]4647compile_args_panfrost = [48'-DGALLIUM_PANFROST',49'-Wno-pointer-arith'50]5152libpanfrost = static_library(53'panfrost',54files_panfrost,55dependencies: [56dep_thread,57dep_libdrm,58idep_mesautil,59idep_nir,60idep_midgard_pack61],62include_directories : panfrost_includes,63c_args : [c_msvc_compat_args, compile_args_panfrost],64gnu_symbol_visibility : 'hidden',65)6667driver_panfrost = declare_dependency(68compile_args : compile_args_panfrost,69link_with : [libpanfrost, libpanfrostwinsys, libpanfrost_shared, libpanfrost_midgard, libpanfrost_bifrost, libpanfrost_decode, libpanfrost_lib],70)717273