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