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