xref: /aosp_15_r20/external/mesa3d/src/gallium/drivers/tegra/meson.build (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1# Copyright © 2018 NVIDIA CORPORATION
2# SPDX-License-Identifier: MIT
3
4files_tegra = files(
5  'tegra_context.c',
6  'tegra_context.h',
7  'tegra_resource.h',
8  'tegra_screen.c',
9)
10
11libtegra = static_library(
12  'tegra',
13  files_tegra,
14  gnu_symbol_visibility : 'hidden',
15  include_directories : [
16    inc_include, inc_src, inc_gallium, inc_gallium_aux, inc_gallium_drivers,
17    inc_gallium_winsys,
18  ],
19  dependencies : [dep_libdrm, idep_mesautil],
20)
21
22driver_tegra = declare_dependency(
23  compile_args : '-DGALLIUM_TEGRA',
24  link_with : [libtegra, libtegradrm],
25)
26