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