summaryrefslogtreecommitdiffstats
path: root/mojo/services/tracing/BUILD.gn
blob: 14fed0f4c1a0def1a46cdd5eb6a7994135a217c5 (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
# Copyright 2014 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("//mojo/public/mojo_application.gni")

mojo_native_application("tracing") {
  sources = [
    "main.cc",
  ]

  avoid_runner_cycle = true

  deps = [
    ":lib",
    "//mojo/public/cpp/system",
    "//mojo/shell/public/cpp",
  ]
}

source_set("lib") {
  sources = [
    "trace_data_sink.cc",
    "trace_data_sink.h",
    "trace_recorder_impl.cc",
    "trace_recorder_impl.h",
    "tracing_app.cc",
    "tracing_app.h",
  ]

  deps = [
    "//base",
    "//mojo/common:common_base",
    "//mojo/services/tracing/public/interfaces",
    "//mojo/shell/public/cpp",
  ]
}