OLD | NEW |
---|---|
1 # Copyright 2014 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") | |
jamesr
2015/05/08 20:55:15
you can remove this - you only need to import this
APW
2015/05/08 22:09:27
Done.
| |
6 | 7 |
7 mojo_native_application("content_handler_demo") { | 8 mojo_native_application("keyboard_client") { |
8 sources = [ | |
9 "content_handler_demo.cc", | |
10 ] | |
11 | |
12 deps = [ | 9 deps = [ |
10 "//base:base", | |
jamesr
2015/05/08 20:55:15
just "//base". in GN, "//foo/bar/blah" is a short
APW
2015/05/08 22:09:28
Done.
| |
13 "//mojo/public/cpp/application:standalone", | 11 "//mojo/public/cpp/application:standalone", |
14 "//mojo/public/cpp/bindings", | 12 "//mojo/public/cpp/bindings", |
15 "//mojo/public/cpp/utility", | 13 "//mojo/public/cpp/utility", |
16 "//mojo/services/content_handler/public/interfaces", | 14 "//mojo/services/keyboard/public/interfaces", |
15 ] | |
16 | |
17 sources = [ | |
jamesr
2015/05/08 20:55:15
put sources before deps. style guide for BUILD.gn
APW
2015/05/08 22:09:28
Done.
| |
18 "keyboard_client.cc", | |
17 ] | 19 ] |
18 } | 20 } |
OLD | NEW |