| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
| 7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
| 8 | 8 |
| 9 if (use_aura) { | 9 if (use_aura) { |
| 10 mojo_native_application("window_manager") { | 10 mojo_native_application("window_manager") { |
| 11 output_name = "example_window_manager" | 11 output_name = "example_window_manager" |
| 12 | 12 |
| 13 sources = [ | 13 sources = [ |
| 14 "debug_panel.cc", | |
| 15 "debug_panel.h", | |
| 16 "window_manager.cc", | 14 "window_manager.cc", |
| 17 ] | 15 ] |
| 18 | 16 |
| 19 deps = [ | 17 deps = [ |
| 20 ":bindings", | 18 ":bindings", |
| 21 "//base", | 19 "//base", |
| 22 "//examples/keyboard:bindings", | 20 "//examples/keyboard:bindings", |
| 23 "//mojo/application", | 21 "//mojo/application", |
| 24 "//mojo/aura", | |
| 25 "//mojo/converters/geometry", | 22 "//mojo/converters/geometry", |
| 26 "//mojo/converters/input_events", | 23 "//mojo/converters/input_events", |
| 27 "//mojo/public/c/gles2", | 24 "//mojo/public/c/gles2", |
| 28 "//mojo/public/cpp/bindings", | 25 "//mojo/public/cpp/bindings", |
| 29 "//mojo/public/cpp/utility", | 26 "//mojo/public/cpp/utility", |
| 30 "//mojo/services/geometry/public/interfaces", | 27 "//mojo/services/geometry/public/interfaces", |
| 31 "//mojo/services/input_events/public/interfaces", | 28 "//mojo/services/input_events/public/interfaces", |
| 32 "//mojo/services/navigation/public/interfaces", | 29 "//mojo/services/navigation/public/interfaces", |
| 33 "//mojo/services/view_manager/public/cpp", | 30 "//mojo/services/view_manager/public/cpp", |
| 34 "//mojo/views:views", | |
| 35 "//services/window_manager:lib", | 31 "//services/window_manager:lib", |
| 36 "//ui/aura", | |
| 37 "//ui/base", | 32 "//ui/base", |
| 33 "//ui/events:events", |
| 38 "//ui/gfx", | 34 "//ui/gfx", |
| 39 "//ui/gfx/geometry", | 35 "//ui/gfx/geometry", |
| 40 "//ui/gl", | 36 "//ui/gl", |
| 41 "//ui/resources", | 37 "//ui/resources", |
| 42 "//ui/views", | 38 "//url:url", |
| 43 "//ui/wm", | |
| 44 ] | 39 ] |
| 45 } | 40 } |
| 46 } | 41 } |
| 47 | 42 |
| 48 mojom("bindings") { | 43 mojom("bindings") { |
| 49 sources = [ | 44 sources = [ |
| 45 "debug_panel_host.mojom", |
| 50 "window_manager.mojom", | 46 "window_manager.mojom", |
| 51 ] | 47 ] |
| 52 deps = [ | 48 deps = [ |
| 53 "//mojo/services/geometry/public/interfaces", | 49 "//mojo/services/geometry/public/interfaces", |
| 50 "//mojo/services/network/public/interfaces", |
| 54 ] | 51 ] |
| 55 } | 52 } |
| OLD | NEW |