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/system.gni") | |
7 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
8 | 7 |
9 assert(use_aura) | 8 assert(use_aura) |
10 | 9 |
11 # GYP version: mojo/mojo_examples.gypi:mojo_window_manager | 10 # GYP version: mojo/mojo_examples.gypi:mojo_window_manager |
12 shared_library("window_manager") { | 11 shared_library("window_manager") { |
13 output_name = "mojo_window_manager" | 12 output_name = "mojo_window_manager" |
14 | 13 |
15 sources = [ | 14 sources = [ |
16 "debug_panel.cc", | 15 "debug_panel.cc", |
17 "debug_panel.h", | 16 "debug_panel.h", |
18 "window_manager.cc", | 17 "window_manager.cc", |
19 ] | 18 ] |
20 | 19 |
21 deps = [ | 20 deps = [ |
22 ":bindings", | 21 ":bindings", |
23 "//base", | 22 "//base", |
24 "//mojo/application", | 23 "//mojo/application", |
25 "//mojo/aura", | 24 "//mojo/aura", |
26 "//mojo/examples/keyboard:bindings", | 25 "//mojo/examples/keyboard:bindings", |
| 26 "//mojo/public/c/system:for_shared_library", |
27 "//mojo/public/cpp/bindings", | 27 "//mojo/public/cpp/bindings", |
28 "//mojo/public/cpp/utility", | 28 "//mojo/public/cpp/utility", |
| 29 "//mojo/public/gles2:for_shared_library", |
29 "//mojo/services/public/cpp/geometry", | 30 "//mojo/services/public/cpp/geometry", |
30 "//mojo/services/public/cpp/input_events", | 31 "//mojo/services/public/cpp/input_events", |
31 "//mojo/services/public/cpp/view_manager", | 32 "//mojo/services/public/cpp/view_manager", |
32 "//mojo/services/public/interfaces/geometry", | 33 "//mojo/services/public/interfaces/geometry", |
33 "//mojo/services/public/interfaces/input_events", | 34 "//mojo/services/public/interfaces/input_events", |
34 "//mojo/services/public/interfaces/navigation", | 35 "//mojo/services/public/interfaces/navigation", |
35 "//mojo/services/window_manager:lib", | 36 "//mojo/services/window_manager:lib", |
36 "//mojo/views", | 37 "//mojo/views", |
37 "//ui/aura", | 38 "//ui/aura", |
38 "//ui/base", | 39 "//ui/base", |
39 "//ui/gfx", | 40 "//ui/gfx", |
40 "//ui/gfx/geometry", | 41 "//ui/gfx/geometry", |
41 "//ui/gl", | 42 "//ui/gl", |
42 "//ui/resources", | 43 "//ui/resources", |
43 "//ui/views", | 44 "//ui/views", |
44 ] + mojo_system_for_shared_library + mojo_gles2_for_shared_library | 45 ] |
45 } | 46 } |
46 | 47 |
47 # GYP version: mojo/mojo_examples.gypi:mojo_window_manager_bindings | 48 # GYP version: mojo/mojo_examples.gypi:mojo_window_manager_bindings |
48 mojom("bindings") { | 49 mojom("bindings") { |
49 sources = [ | 50 sources = [ |
50 "window_manager.mojom", | 51 "window_manager.mojom", |
51 ] | 52 ] |
52 deps = [ | 53 deps = [ |
53 "//mojo/services/public/interfaces/geometry", | 54 "//mojo/services/public/interfaces/geometry", |
54 ] | 55 ] |
55 } | 56 } |
56 | 57 |
OLD | NEW |