xref: /aosp_15_r20/external/mesa3d/src/amd/meson.build (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1# Copyright © 2017 Intel Corporation
2# SPDX-License-Identifier: MIT
3
4inc_amd = include_directories('.')
5
6if with_amd_vk or with_gallium_radeonsi
7  subdir('addrlib')
8  subdir('common')
9  if amd_with_llvm
10    subdir('llvm')
11  else
12    libamd_common_llvm = []
13  endif
14  subdir('compiler')
15endif
16
17if with_amd_vk
18  subdir('vulkan')
19  if with_aco_tests
20    subdir('compiler/tests')
21  endif
22endif
23
24if with_tools.contains('drm-shim')
25  subdir('drm-shim')
26endif
27
28if with_gallium_radeonsi
29  subdir('vpelib')
30endif
31