James Robinson | 85ccf05 | 2014-12-01 16:31:03 -0800 | [diff] [blame] | 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. |
| 4 | |
| 5 | import("//mojo/public/mojo_application.gni") |
| 6 | import("//mojo/public/tools/bindings/mojom.gni") |
| 7 | |
| 8 | mojo_native_application("tracing") { |
| 9 | sources = [ |
| 10 | "main.cc", |
Nelly Vouzoukidou | 88686a8 | 2016-05-19 18:17:33 +0200 | [diff] [blame] | 11 | ] |
| 12 | |
| 13 | deps = [ |
| 14 | ":lib", |
| 15 | "//mojo/application", |
| 16 | ] |
| 17 | } |
| 18 | |
Nelly Vouzoukidou | 8d66e0d | 2016-05-20 11:00:11 +0200 | [diff] [blame] | 19 | # Library that allows the service code to be included directly into the |
| 20 | # embedding shell. Used by https://manganese.googlesource.com/. |
Nelly Vouzoukidou | 88686a8 | 2016-05-19 18:17:33 +0200 | [diff] [blame] | 21 | source_set("lib") { |
| 22 | sources = [ |
James Robinson | 85ccf05 | 2014-12-01 16:31:03 -0800 | [diff] [blame] | 23 | "trace_data_sink.cc", |
| 24 | "trace_data_sink.h", |
Przemyslaw Pietrzkiewicz | 4825af9 | 2015-08-13 10:27:45 +0200 | [diff] [blame] | 25 | "trace_recorder_impl.cc", |
| 26 | "trace_recorder_impl.h", |
James Robinson | 115caf8 | 2015-04-07 12:52:40 -0700 | [diff] [blame] | 27 | "tracing_app.cc", |
| 28 | "tracing_app.h", |
James Robinson | 85ccf05 | 2014-12-01 16:31:03 -0800 | [diff] [blame] | 29 | ] |
| 30 | |
| 31 | deps = [ |
James Robinson | 85ccf05 | 2014-12-01 16:31:03 -0800 | [diff] [blame] | 32 | "//base", |
| 33 | "//mojo/application", |
| 34 | "//mojo/common", |
James Robinson | 94ade6b | 2015-08-25 13:02:06 -0700 | [diff] [blame] | 35 | "//mojo/data_pipe_utils", |
James Robinson | 85ccf05 | 2014-12-01 16:31:03 -0800 | [diff] [blame] | 36 | "//mojo/public/cpp/application", |
Adam Barth | 9b3cd6f | 2015-01-15 16:32:16 -0800 | [diff] [blame] | 37 | "//mojo/public/cpp/system", |
Viet-Trung Luu | 0f4f3ba | 2015-10-10 01:08:40 -0700 | [diff] [blame] | 38 | "//mojo/services/tracing/interfaces", |
James Robinson | 8bcf28e | 2014-12-03 17:39:48 -0800 | [diff] [blame] | 39 | ] |
James Robinson | 85ccf05 | 2014-12-01 16:31:03 -0800 | [diff] [blame] | 40 | } |