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 |
(...skipping 14 matching lines...) Expand all Loading... |
25 "wm/frame_controller.h", | 25 "wm/frame_controller.h", |
26 ] | 26 ] |
27 | 27 |
28 deps = [ | 28 deps = [ |
29 "//base", | 29 "//base", |
30 "//skia", | 30 "//skia", |
31 "//ui/aura", | 31 "//ui/aura", |
32 "//ui/views", | 32 "//ui/views", |
33 "//ui/wm:wm", | 33 "//ui/wm:wm", |
34 "//mojo/application", | 34 "//mojo/application", |
35 "//mojo/services/public/cpp/view_manager", | |
36 "//mojo/services/public/interfaces/input_events", | 35 "//mojo/services/public/interfaces/input_events", |
| 36 "//mojo/services/view_manager/public/cpp", |
37 "//mojo/views:views", | 37 "//mojo/views:views", |
38 "//services/window_manager:lib", | 38 "//services/window_manager:lib", |
39 ] | 39 ] |
40 } | 40 } |
41 | 41 |
42 mojo_native_application("app") { | 42 mojo_native_application("app") { |
43 output_name = "wm_flow_app" | 43 output_name = "wm_flow_app" |
44 | 44 |
45 sources = [ | 45 sources = [ |
46 "app/app.cc", | 46 "app/app.cc", |
47 ] | 47 ] |
48 | 48 |
49 deps = [ | 49 deps = [ |
50 ":embedder_bindings", | 50 ":embedder_bindings", |
51 ":embeddee_bindings", | 51 ":embeddee_bindings", |
52 "//base", | 52 "//base", |
53 "//examples/bitmap_uploader", | 53 "//examples/bitmap_uploader", |
54 "//mojo/application", | 54 "//mojo/application", |
55 "//mojo/public/interfaces/application:application", | 55 "//mojo/public/interfaces/application:application", |
56 "//mojo/services/public/cpp/view_manager", | 56 "//mojo/services/view_manager/public/cpp", |
57 "//skia", | 57 "//skia", |
58 "//services/window_manager:lib", | 58 "//services/window_manager:lib", |
59 ] | 59 ] |
60 } | 60 } |
61 | 61 |
62 mojo_native_application("embedded") { | 62 mojo_native_application("embedded") { |
63 output_name = "wm_flow_embedded" | 63 output_name = "wm_flow_embedded" |
64 | 64 |
65 sources = [ | 65 sources = [ |
66 "embedded/embedded.cc", | 66 "embedded/embedded.cc", |
67 ] | 67 ] |
68 | 68 |
69 deps = [ | 69 deps = [ |
70 ":embeddee_bindings", | 70 ":embeddee_bindings", |
71 ":embedder_bindings", | 71 ":embedder_bindings", |
72 "//base", | 72 "//base", |
73 "//examples/bitmap_uploader", | 73 "//examples/bitmap_uploader", |
74 "//mojo/application", | 74 "//mojo/application", |
75 "//mojo/services/public/cpp/view_manager", | 75 "//mojo/services/view_manager/public/cpp", |
76 "//services/window_manager:lib", | 76 "//services/window_manager:lib", |
77 "//skia", | 77 "//skia", |
78 ] | 78 ] |
79 } | 79 } |
80 | 80 |
81 mojom("embedder_bindings") { | 81 mojom("embedder_bindings") { |
82 sources = [ | 82 sources = [ |
83 "app/embedder.mojom", | 83 "app/embedder.mojom", |
84 ] | 84 ] |
85 } | 85 } |
86 | 86 |
87 mojom("embeddee_bindings") { | 87 mojom("embeddee_bindings") { |
88 sources = [ | 88 sources = [ |
89 "embedded/embeddee.mojom", | 89 "embedded/embeddee.mojom", |
90 ] | 90 ] |
91 } | 91 } |
OLD | NEW |