Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1066)

Unified Diff: examples/keyboard_client/BUILD.gn

Issue 1139453002: Initial native keyboard proof of concept. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: examples/keyboard_client/BUILD.gn
diff --git a/examples/content_handler_demo/BUILD.gn b/examples/keyboard_client/BUILD.gn
similarity index 54%
copy from examples/content_handler_demo/BUILD.gn
copy to examples/keyboard_client/BUILD.gn
index d11b9cb75a705ddced5fa99aa2699f45fef315ca..ef31e852974befbf9ee2cc5d2e30850de10f45cd 100644
--- a/examples/content_handler_demo/BUILD.gn
+++ b/examples/keyboard_client/BUILD.gn
@@ -1,18 +1,20 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
+# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//mojo/public/mojo_application.gni")
+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.
-mojo_native_application("content_handler_demo") {
- sources = [
- "content_handler_demo.cc",
- ]
-
+mojo_native_application("keyboard_client") {
deps = [
+ "//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.
"//mojo/public/cpp/application:standalone",
"//mojo/public/cpp/bindings",
"//mojo/public/cpp/utility",
- "//mojo/services/content_handler/public/interfaces",
+ "//mojo/services/keyboard/public/interfaces",
+ ]
+
+ 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.
+ "keyboard_client.cc",
]
}

Powered by Google App Engine
This is Rietveld 408576698