summaryrefslogtreecommitdiffstats
path: root/mojo/services/tracing/BUILD.gn
blob: d007fcffdfae6b8af476e4197e3a2967608ce286 (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
# 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")
import("//mojo/public/mojo_application_manifest.gni")

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

  avoid_runner_cycle = true

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

mojo_application_manifest("manifest") {
  application_name = "tracing"
  source = "manifest.json"
}

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",
  ]
}