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/public/c/system:for_shared_library", | |
36 "//mojo/services/public/cpp/view_manager", | 35 "//mojo/services/public/cpp/view_manager", |
37 "//mojo/services/public/interfaces/input_events", | 36 "//mojo/services/public/interfaces/input_events", |
38 "//mojo/views:views", | 37 "//mojo/views:views", |
39 "//services/window_manager:lib", | 38 "//services/window_manager:lib", |
40 ] | 39 ] |
41 } | 40 } |
42 | 41 |
43 mojo_native_application("app") { | 42 mojo_native_application("app") { |
44 output_name = "wm_flow_app" | 43 output_name = "wm_flow_app" |
45 | 44 |
46 sources = [ | 45 sources = [ |
47 "app/app.cc", | 46 "app/app.cc", |
48 ] | 47 ] |
49 | 48 |
50 deps = [ | 49 deps = [ |
51 ":embedder_bindings", | 50 ":embedder_bindings", |
52 ":embeddee_bindings", | 51 ":embeddee_bindings", |
53 "//base", | 52 "//base", |
54 "//examples/bitmap_uploader", | 53 "//examples/bitmap_uploader", |
55 "//mojo/application", | 54 "//mojo/application", |
56 "//mojo/public/c/system:for_shared_library", | |
57 "//mojo/public/interfaces/application:application", | 55 "//mojo/public/interfaces/application:application", |
58 "//mojo/services/public/cpp/view_manager", | 56 "//mojo/services/public/cpp/view_manager", |
59 "//skia", | 57 "//skia", |
60 "//services/window_manager:lib", | 58 "//services/window_manager:lib", |
61 ] | 59 ] |
62 } | 60 } |
63 | 61 |
64 mojo_native_application("embedded") { | 62 mojo_native_application("embedded") { |
65 output_name = "wm_flow_embedded" | 63 output_name = "wm_flow_embedded" |
66 | 64 |
67 sources = [ | 65 sources = [ |
68 "embedded/embedded.cc", | 66 "embedded/embedded.cc", |
69 ] | 67 ] |
70 | 68 |
71 deps = [ | 69 deps = [ |
72 ":embeddee_bindings", | 70 ":embeddee_bindings", |
73 ":embedder_bindings", | 71 ":embedder_bindings", |
74 "//base", | 72 "//base", |
75 "//examples/bitmap_uploader", | 73 "//examples/bitmap_uploader", |
76 "//mojo/application", | 74 "//mojo/application", |
77 "//mojo/public/c/system:for_shared_library", | |
78 "//mojo/services/public/cpp/view_manager", | 75 "//mojo/services/public/cpp/view_manager", |
79 "//services/window_manager:lib", | 76 "//services/window_manager:lib", |
80 "//skia", | 77 "//skia", |
81 ] | 78 ] |
82 } | 79 } |
83 | 80 |
84 mojom("embedder_bindings") { | 81 mojom("embedder_bindings") { |
85 sources = [ | 82 sources = [ |
86 "app/embedder.mojom", | 83 "app/embedder.mojom", |
87 ] | 84 ] |
88 } | 85 } |
89 | 86 |
90 mojom("embeddee_bindings") { | 87 mojom("embeddee_bindings") { |
91 sources = [ | 88 sources = [ |
92 "embedded/embeddee.mojom", | 89 "embedded/embeddee.mojom", |
93 ] | 90 ] |
94 } | 91 } |
OLD | NEW |