summaryrefslogtreecommitdiff
path: root/chromium/chromecast/tracing/BUILD.gn
blob: b28111a13ba8a711cd4d9d6a99cfb8b482d32c40 (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
49
50
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//chromecast/chromecast.gni")
import("//testing/test.gni")

assert(!is_fuchsia)

cast_source_set("system_tracing_common") {
  sources = [
    "system_tracing_common.cc",
    "system_tracing_common.h",
  ]

  deps = [ "//base" ]
}

cast_executable("traced") {
  sources = [
    "ftrace.cc",
    "ftrace.h",
    "tracing_service_main.cc",
  ]

  deps = [
    ":system_tracing_common",
    "//base",
  ]
}

cast_source_set("system_tracer") {
  sources = [
    "system_tracer.cc",
    "system_tracer.h",
  ]

  public_deps = [
    ":system_tracing_common",
    "//base",
    "//chromecast:chromecast_buildflags",
  ]
}

group("tracing") {
  deps = [
    ":system_tracing_common",
    ":traced",
  ]
}