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/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 7 |
7 group("inspector") { | 8 group("inspector") { |
8 testonly = true | 9 testonly = true |
9 | 10 |
10 deps = [ | 11 deps = [ |
11 ":sky_inspector_server", | 12 ":sky_inspector_server", |
12 ] | 13 ] |
13 } | 14 } |
14 | 15 |
15 shared_library("sky_inspector_server") { | 16 mojo_binary_application("sky_inspector_server") { |
16 sources = [ | 17 sources = [ |
17 "inspector_frontend_impl.cc", | 18 "inspector_frontend_impl.cc", |
18 "inspector_frontend_impl.h", | 19 "inspector_frontend_impl.h", |
19 "server.cc", | 20 "server.cc", |
20 ] | 21 ] |
21 | 22 |
22 deps = [ | 23 deps = [ |
23 "//base", | 24 "//base", |
24 "//mojo/application", | 25 "//mojo/application", |
25 "//mojo/public/c/system:for_shared_library", | 26 "//mojo/public/c/system:for_shared_library", |
26 "//mojo/public/cpp/bindings", | 27 "//mojo/public/cpp/bindings", |
27 "//mojo/public/cpp/utility", | 28 "//mojo/public/cpp/utility", |
28 "//net", | 29 "//net", |
29 "//net:http_server", | 30 "//net:http_server", |
30 ":bindings", | 31 ":bindings", |
31 ] | 32 ] |
32 } | 33 } |
33 | 34 |
34 mojom("bindings") { | 35 mojom("bindings") { |
35 sources = [ | 36 sources = [ |
36 "inspector.mojom", | 37 "inspector.mojom", |
37 ] | 38 ] |
38 } | 39 } |
OLD | NEW |