• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright © 2020 Collabora, Ltd.
2# Author: Antonio Caggiano <antonio.caggiano@collabora.com>
3# Author: Robert Beckett <bob.beckett@collabora.com>
4#
5# SPDX-License-Identifier: MIT
6
7pps_panfrost_sources = [
8  'pan_pps_perf.cpp',
9  'pan_pps_driver.cpp'
10]
11
12pps_panfrost_includes = [inc_include, inc_src, inc_tool]
13
14pps_panfrost_lib = static_library(
15  'pps-panfrost',
16  sources: pps_panfrost_sources,
17  include_directories: pps_panfrost_includes,
18  dependencies: [dep_libdrm, dep_perfetto, libpanfrost_dep, dep_panfrost_perf],
19)
20
21compile_args_pps_panfrost = ['-DPPS_PANFROST']
22
23pps_panfrost_dep = declare_dependency(
24  link_with: pps_panfrost_lib,
25  include_directories: pps_panfrost_includes,
26  compile_args: compile_args_pps_panfrost
27)
28
29pps_datasources += pps_panfrost_dep
30if not with_datasources.contains('panfrost')
31  with_datasources += 'panfrost'
32endif
33