Path: blob/21.2-virgl/src/freedreno/common/meson.build
4565 views
# Copyright © 2020 Igalia S.L12# 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.1920freedreno_devices_c = custom_target(21'freedreno_devices.c',22input: 'freedreno_devices.py',23output: 'freedreno_devices.c',24command: [prog_python, '@INPUT@'],25capture: true,26)2728libfreedreno_common = static_library(29'freedreno_common',30[31'disasm.h',32'freedreno_dev_info.c',33'freedreno_dev_info.h',34'freedreno_pm4.h',35'freedreno_uuid.c',36'freedreno_uuid.h',37'freedreno_guardband.h',38freedreno_devices_c,39sha1_h,40],41include_directories : [inc_freedreno, inc_include, inc_src, inc_gallium],42c_args : [no_override_init_args],43build_by_default : true,44dependencies: [idep_mesautil],45gnu_symbol_visibility : 'hidden',46)4748idep_libfreedreno_common = declare_dependency(49link_with: [libfreedreno_common],50)515253