• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright © 2020-2021 Collabora, Ltd.
2# Author: Antonio Caggiano <antonio.caggiano@collabora.com>
3#
4# SPDX-License-Identifier: MIT
5
6pps_intel_sources = [
7  'intel_pps_perf.cc',
8  'intel_pps_driver.cc',
9]
10
11
12pps_intel_lib = static_library(
13  'pps-intel',
14  sources: pps_intel_sources,
15  include_directories: [inc_tool, inc_src, inc_include],
16  link_with: [libintel_perf, libintel_dev],
17  dependencies: [dep_perfetto, dep_libdrm, idep_mesautil],
18  cpp_args: '-std=c++17'
19)
20
21compile_args_pps_intel = ['-DPPS_INTEL']
22
23pps_intel_dep = declare_dependency(
24  link_with: pps_intel_lib,
25  include_directories: [inc_tool, inc_include],
26  compile_args: compile_args_pps_intel,
27)
28
29pps_datasources += pps_intel_dep
30if not with_datasources.contains('intel')
31  with_datasources += 'intel'
32endif
33