blob: 229a77b51ba1fd92314f4de01806dbbfe15b46f6 [file] [log] [blame]
James Robinson85ccf052014-12-01 16:31:03 -08001# 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
5import("//mojo/public/mojo_application.gni")
6import("//mojo/public/tools/bindings/mojom.gni")
7
8mojo_native_application("tracing") {
9 sources = [
10 "main.cc",
Nelly Vouzoukidou88686a82016-05-19 18:17:33 +020011 ]
12
13 deps = [
14 ":lib",
15 "//mojo/application",
16 ]
17}
18
Nelly Vouzoukidou8d66e0d2016-05-20 11:00:11 +020019# Library that allows the service code to be included directly into the
20# embedding shell. Used by https://manganese.googlesource.com/.
Nelly Vouzoukidou88686a82016-05-19 18:17:33 +020021source_set("lib") {
22 sources = [
James Robinson85ccf052014-12-01 16:31:03 -080023 "trace_data_sink.cc",
24 "trace_data_sink.h",
Przemyslaw Pietrzkiewicz4825af92015-08-13 10:27:45 +020025 "trace_recorder_impl.cc",
26 "trace_recorder_impl.h",
James Robinson115caf82015-04-07 12:52:40 -070027 "tracing_app.cc",
28 "tracing_app.h",
James Robinson85ccf052014-12-01 16:31:03 -080029 ]
30
31 deps = [
James Robinson85ccf052014-12-01 16:31:03 -080032 "//base",
33 "//mojo/application",
34 "//mojo/common",
James Robinson94ade6b2015-08-25 13:02:06 -070035 "//mojo/data_pipe_utils",
James Robinson85ccf052014-12-01 16:31:03 -080036 "//mojo/public/cpp/application",
Adam Barth9b3cd6f2015-01-15 16:32:16 -080037 "//mojo/public/cpp/system",
Viet-Trung Luu0f4f3ba2015-10-10 01:08:40 -070038 "//mojo/services/tracing/interfaces",
James Robinson8bcf28e2014-12-03 17:39:48 -080039 ]
James Robinson85ccf052014-12-01 16:31:03 -080040}