OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
8 group("inspector") { | 8 mojo_native_application("tracing") { |
9 deps = [ | |
10 ":sky_inspector_server", | |
11 ] | |
12 } | |
13 | |
14 mojo_native_application("sky_inspector_server") { | |
15 sources = [ | 9 sources = [ |
16 "server.cc", | 10 "main.cc", |
| 11 "trace_data_sink.cc", |
| 12 "trace_data_sink.h", |
17 ] | 13 ] |
18 | 14 |
19 deps = [ | 15 deps = [ |
| 16 ":bindings", |
20 "//base", | 17 "//base", |
21 "//mojo/application", | 18 "//mojo/application", |
22 "//mojo/common", | 19 "//mojo/common", |
23 "//mojo/public/c/system:for_shared_library", | 20 "//mojo/public/c/system:for_shared_library", |
24 "//mojo/public/cpp/bindings", | 21 "//mojo/public/cpp/application", |
25 "//mojo/public/cpp/utility", | |
26 "//net", | |
27 "//net:http_server", | |
28 ":bindings", | |
29 ] | 22 ] |
30 } | 23 } |
31 | 24 |
32 mojom("bindings") { | 25 mojom("bindings") { |
33 sources = [ | 26 sources = [ "tracing.mojom" ] |
34 "inspector.mojom", | |
35 ] | |
36 } | 27 } |
OLD | NEW |