summaryrefslogtreecommitdiffstats
path: root/mojo/services/tracing/BUILD.gn
blob: 235374f75f86d0373b5de1236ef2e7b6dc340b31 (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
# 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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")

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

  deps = [
    ":lib",
    "//mojo/application/public/cpp",
    "//third_party/mojo/src/mojo/public/cpp/system",
  ]
}

mojom("bindings") {
  sources = [
    "tracing.mojom",
  ]
}

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

  deps = [
    ":bindings",
    "//base",
    "//mojo/application/public/cpp",
    "//mojo/common:common_base",
  ]
}