Path: blob/21.2-virgl/src/freedreno/rnn/meson.build
4565 views
# Copyright © 2020 Google, Inc12# 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.1920libfreedreno_rnn_files = files(21'aprintf.c',22'colors.c',23'colors.h',24'path.c',25'rnn.c',26'rnn.h',27'rnndec.c',28'rnndec.h',29'util.h',30)3132libfreedreno_rnn = static_library(33'freedreno_rnn',34libfreedreno_rnn_files,35include_directories: [36inc_src,37inc_include,38],39c_args : [40no_override_init_args,41'-DRNN_DEF_PATH="' + rnn_path + '"',42],43gnu_symbol_visibility: 'hidden',44dependencies: [ dep_libxml2, idep_mesautil ],45build_by_default: false,46)4748headergen2 = executable(49'headergen2',50'headergen2.c',51include_directories: [],52c_args : [no_override_init_args],53gnu_symbol_visibility: 'hidden',54dependencies: [],55link_with: libfreedreno_rnn,56build_by_default: with_tools.contains('freedreno'),57install: false58)596061