Index: mojo/examples/keyboard/BUILD.gn |
diff --git a/mojo/examples/keyboard/BUILD.gn b/mojo/examples/keyboard/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..99cdd0c5fad203f99f202d97b10aaf963dd7fd8c |
--- /dev/null |
+++ b/mojo/examples/keyboard/BUILD.gn |
@@ -0,0 +1,55 @@ |
+# Copyright 2014 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("//build/config/ui.gni") |
+import("//mojo/system.gni") |
+import("//mojo/public/tools/bindings/mojom.gni") |
+ |
+assert(use_aura) |
+ |
+# GYP version: mojo/mojo_examples.gypi:mojo_keyboard |
+shared_library("keyboard") { |
+ output_name = "mojo_keyboard" |
+ |
+ sources = [ |
+ "keyboard_delegate.h", |
+ "keyboard_view.cc", |
+ "keyboard_view.h", |
+ "keyboard.cc", |
+ "keys.cc", |
+ "keys.h", |
+ ] |
+ |
+ deps = [ |
+ ":bindings", |
+ "//base", |
+ "//cc", |
+ "//mojo/application", |
+ "//mojo/aura", |
+ "//mojo/common", |
+ "//mojo/services/public/cpp/geometry", |
+ "//mojo/services/public/cpp/input_events", |
+ "//mojo/services/public/cpp/view_manager", |
+ "//mojo/services/public/interfaces/geometry", |
+ "//mojo/services/public/interfaces/navigation", |
+ "//mojo/services/public/interfaces/view_manager", |
+ "//mojo/views", |
+ "//third_party/icu", |
+ "//ui/aura", |
+ "//ui/base", |
+ "//ui/compositor", |
+ "//ui/gfx", |
+ "//ui/gfx/geometry", |
+ "//ui/resources", |
+ "//ui/resources:ui_test_pak", |
+ "//ui/views", |
+ "//url", |
+ ] + mojo_system_for_shared_library |
+} |
+ |
+# GYP version: mojo/mojo_examples.gypi:mojo_keyboard_bindings |
+mojom("bindings") { |
+ sources = [ "keyboard.mojom" ] |
+} |
+ |