Gets gn check to execute cleanly in most other mojo dirs
[chromium-blink-merge.git] / mojo / services / tracing / BUILD.gn
blob235374f75f86d0373b5de1236ef2e7b6dc340b31
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//mojo/public/mojo_application.gni")
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
8 mojo_native_application("tracing") {
9   sources = [
10     "main.cc",
11   ]
13   deps = [
14     ":lib",
15     "//mojo/application/public/cpp",
16     "//third_party/mojo/src/mojo/public/cpp/system",
17   ]
20 mojom("bindings") {
21   sources = [
22     "tracing.mojom",
23   ]
26 source_set("lib") {
27   sources = [
28     "trace_data_sink.cc",
29     "trace_data_sink.h",
30     "tracing_app.cc",
31     "tracing_app.h",
32   ]
34   deps = [
35     ":bindings",
36     "//base",
37     "//mojo/application/public/cpp",
38     "//mojo/common:common_base",
39   ]