Index: mojo/examples/window_manager/BUILD.gn |
diff --git a/mojo/examples/window_manager/BUILD.gn b/mojo/examples/window_manager/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1f6054ff6379794d3618e28f7c23563834c1b7c2 |
--- /dev/null |
+++ b/mojo/examples/window_manager/BUILD.gn |
@@ -0,0 +1,56 @@ |
+# 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_window_manager |
+shared_library("window_manager") { |
+ output_name = "mojo_window_manager" |
+ |
+ sources = [ |
+ "debug_panel.cc", |
+ "debug_panel.h", |
+ "window_manager.cc", |
+ ] |
+ |
+ deps = [ |
+ ":bindings", |
+ "//base", |
+ "//mojo/application", |
+ "//mojo/aura", |
+ "//mojo/examples/keyboard:bindings", |
+ "//mojo/public/cpp/bindings", |
+ "//mojo/public/cpp/utility", |
+ "//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/input_events", |
+ "//mojo/services/public/interfaces/navigation", |
+ "//mojo/services/window_manager:lib", |
+ "//mojo/views", |
+ "//ui/aura", |
+ "//ui/base", |
+ "//ui/gfx", |
+ "//ui/gfx/geometry", |
+ "//ui/gl", |
+ "//ui/resources", |
+ "//ui/views", |
+ ] + mojo_system_for_shared_library + mojo_gles2_for_shared_library |
+} |
+ |
+# GYP version: mojo/mojo_examples.gypi:mojo_window_manager_bindings |
+mojom("bindings") { |
+ sources = [ |
+ "window_manager.mojom", |
+ ] |
+ deps = [ |
+ "//mojo/services/public/interfaces/geometry", |
+ ] |
+} |
+ |