OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 mojom("bindings") { | 8 mojom("bindings") { |
9 sources = [ | 9 sources = [ |
10 "pingable.mojom", | 10 "pingable.mojom", |
11 ] | 11 ] |
12 } | 12 } |
13 | 13 |
14 mojo_native_application("pingable_app") { | 14 mojo_native_application("pingable_app") { |
15 output_name = "pingable_app" | 15 output_name = "pingable_app" |
16 | 16 |
17 testonly = true | 17 testonly = true |
18 | 18 |
19 sources = [ | 19 sources = [ |
20 "pingable_app.cc", | 20 "pingable_app.cc", |
21 ] | 21 ] |
22 | 22 |
23 deps = [ | 23 deps = [ |
24 ":bindings", | 24 ":bindings", |
25 "//mojo/application/public/cpp", | |
26 "//mojo/public/cpp/bindings:callback", | 25 "//mojo/public/cpp/bindings:callback", |
| 26 "//mojo/shell/public/cpp", |
27 ] | 27 ] |
28 } | 28 } |
OLD | NEW |