summaryrefslogtreecommitdiff
path: root/src/freedreno/ds/meson.build
blob: 72b2846f9a73a5ab3d8063b04a34a7dbcf79c3ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright © 2021 Collabora, Ltd.
# Copyright © 2021 Google, Inc
# SPDX-License-Identifier: MIT

pps_freedreno_lib = static_library(
  'freedreno-gpu',
  sources: [
    'fd_pps_driver.cc',
    'fd_pps_driver.h',
    freedreno_xml_header_files,
  ],
  include_directories: [
    inc_tool,
    inc_src,
    inc_freedreno,
    inc_include,
  ],
  dependencies: [
    dep_libdrm,
    dep_perfetto,
    dep_valgrind,
  ],
)

pps_freedreno_dep = declare_dependency(
  link_with: [
    pps_freedreno_lib,
    libfreedreno_common,
    libfreedreno_drm,
    libfreedreno_perfcntrs,
  ],
  dependencies: [
    idep_mesautil,
  ],
  include_directories: [
    inc_tool,
    inc_src,
  ],
  compile_args: [
    '-DPPS_FREEDRENO',
  ],
)

pps_datasources += pps_freedreno_dep
pps_includes += [
  inc_include,
  inc_freedreno,
]