| 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 mojo_native_application("window_manager") { |
| 10 mojo_native_application("window_manager") { | 10 output_name = "example_window_manager" |
| 11 output_name = "example_window_manager" | |
| 12 | 11 |
| 13 sources = [ | 12 sources = [ |
| 14 "window_manager.cc", | 13 "window_manager.cc", |
| 15 ] | 14 ] |
| 16 | 15 |
| 17 deps = [ | 16 deps = [ |
| 18 ":bindings", | 17 ":bindings", |
| 19 "//base", | 18 "//base", |
| 20 "//mojo/application", | 19 "//mojo/application", |
| 21 "//mojo/converters/geometry", | 20 "//mojo/converters/geometry", |
| 22 "//mojo/converters/input_events", | 21 "//mojo/converters/input_events", |
| 23 "//mojo/public/c/gles2", | 22 "//mojo/public/c/gles2", |
| 24 "//mojo/public/cpp/bindings", | 23 "//mojo/public/cpp/bindings", |
| 25 "//mojo/public/cpp/utility", | 24 "//mojo/public/cpp/utility", |
| 26 "//mojo/services/geometry/public/interfaces", | 25 "//mojo/services/geometry/public/interfaces", |
| 27 "//mojo/services/input_events/public/interfaces", | 26 "//mojo/services/input_events/public/interfaces", |
| 28 "//mojo/services/navigation/public/interfaces", | 27 "//mojo/services/navigation/public/interfaces", |
| 29 "//mojo/services/view_manager/public/cpp", | 28 "//mojo/services/view_manager/public/cpp", |
| 30 "//services/window_manager:lib", | 29 "//services/window_manager:lib", |
| 31 "//ui/base", | 30 "//ui/base", |
| 32 "//ui/events:events", | 31 "//ui/events:events", |
| 33 "//ui/gfx", | 32 "//ui/gfx", |
| 34 "//ui/gfx/geometry", | 33 "//ui/gfx/geometry", |
| 35 "//ui/gl", | 34 "//ui/gl", |
| 36 "//ui/resources", | 35 "//ui/resources", |
| 37 "//url:url", | 36 "//url:url", |
| 38 ] | 37 ] |
| 39 } | |
| 40 } | 38 } |
| 41 | 39 |
| 42 mojom("bindings") { | 40 mojom("bindings") { |
| 43 sources = [ | 41 sources = [ |
| 44 "debug_panel_host.mojom", | 42 "debug_panel_host.mojom", |
| 45 "window_manager.mojom", | 43 "window_manager.mojom", |
| 46 ] | 44 ] |
| 47 deps = [ | 45 deps = [ |
| 48 "//mojo/services/geometry/public/interfaces", | 46 "//mojo/services/geometry/public/interfaces", |
| 49 "//mojo/services/network/public/interfaces", | 47 "//mojo/services/network/public/interfaces", |
| 50 ] | 48 ] |
| 51 } | 49 } |
| OLD | NEW |