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/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 import("//mojo/system.gni") | |
8 | 7 |
9 assert(use_aura) | 8 assert(use_aura) |
10 | 9 |
11 group("wm_flow" ) { | 10 group("wm_flow" ) { |
12 deps = [ | 11 deps = [ |
13 ":app", | 12 ":app", |
14 ":embedded", | 13 ":embedded", |
15 ":init", | 14 ":init", |
16 ":wm_flow_wm", | 15 ":wm_flow_wm", |
17 ] | 16 ] |
18 } | 17 } |
19 | 18 |
20 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_wm | 19 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_wm |
21 shared_library("wm_flow_wm") { | 20 shared_library("wm_flow_wm") { |
22 output_name = "mojo_wm_flow_wm" | 21 output_name = "mojo_wm_flow_wm" |
23 | 22 |
24 sources = [ | 23 sources = [ |
25 "wm/wm.cc", | 24 "wm/wm.cc", |
26 ] | 25 ] |
27 | 26 |
28 deps = [ | 27 deps = [ |
29 "//base", | 28 "//base", |
30 "//mojo/application", | 29 "//mojo/application", |
| 30 "//mojo/public/c/system:for_shared_library", |
31 "//mojo/services/public/cpp/view_manager", | 31 "//mojo/services/public/cpp/view_manager", |
32 "//mojo/services/window_manager:lib", | 32 "//mojo/services/window_manager:lib", |
33 ] + mojo_system_for_shared_library | 33 ] |
34 } | 34 } |
35 | 35 |
36 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_init | 36 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_init |
37 shared_library("init") { | 37 shared_library("init") { |
38 output_name = "mojo_wm_flow_init" | 38 output_name = "mojo_wm_flow_init" |
39 | 39 |
40 sources = [ | 40 sources = [ |
41 "init/init.cc", | 41 "init/init.cc", |
42 ] | 42 ] |
43 | 43 |
44 deps = [ | 44 deps = [ |
45 "//base", | 45 "//base", |
46 "//mojo/application", | 46 "//mojo/application", |
| 47 "//mojo/public/c/system:for_shared_library", |
47 "//mojo/services/public/interfaces/view_manager", | 48 "//mojo/services/public/interfaces/view_manager", |
48 ] + mojo_system_for_shared_library | 49 ] |
49 } | 50 } |
50 | 51 |
51 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_app | 52 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_app |
52 shared_library("app") { | 53 shared_library("app") { |
53 output_name = "mojo_wm_flow_app" | 54 output_name = "mojo_wm_flow_app" |
54 | 55 |
55 sources = [ | 56 sources = [ |
56 "app/app.cc", | 57 "app/app.cc", |
57 ] | 58 ] |
58 | 59 |
59 deps = [ | 60 deps = [ |
60 ":embedder_bindings", | 61 ":embedder_bindings", |
61 ":embeddee_bindings", | 62 ":embeddee_bindings", |
62 "//base", | 63 "//base", |
63 "//mojo/application", | 64 "//mojo/application", |
| 65 "//mojo/public/c/system:for_shared_library", |
64 "//mojo/services/public/cpp/view_manager", | 66 "//mojo/services/public/cpp/view_manager", |
65 "//mojo/services/window_manager:lib", | 67 "//mojo/services/window_manager:lib", |
66 ] + mojo_system_for_shared_library | 68 ] |
67 } | 69 } |
68 | 70 |
69 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embedded | 71 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embedded |
70 shared_library("embedded") { | 72 shared_library("embedded") { |
71 output_name = "mojo_wm_flow_embedded" | 73 output_name = "mojo_wm_flow_embedded" |
72 | 74 |
73 sources = [ | 75 sources = [ |
74 "embedded/embedded.cc", | 76 "embedded/embedded.cc", |
75 ] | 77 ] |
76 | 78 |
77 deps = [ | 79 deps = [ |
78 ":embedder_bindings", | 80 ":embedder_bindings", |
79 ":embeddee_bindings", | 81 ":embeddee_bindings", |
80 "//base", | 82 "//base", |
81 "//mojo/application", | 83 "//mojo/application", |
| 84 "//mojo/public/c/system:for_shared_library", |
82 "//mojo/services/public/cpp/view_manager", | 85 "//mojo/services/public/cpp/view_manager", |
83 "//mojo/services/window_manager:lib", | 86 "//mojo/services/window_manager:lib", |
84 ] + mojo_system_for_shared_library | 87 ] |
85 } | 88 } |
86 | 89 |
87 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embedder_bindings | 90 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embedder_bindings |
88 mojom("embedder_bindings") { | 91 mojom("embedder_bindings") { |
89 sources = [ | 92 sources = [ |
90 "app/embedder.mojom", | 93 "app/embedder.mojom", |
91 ] | 94 ] |
92 } | 95 } |
93 | 96 |
94 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embeddee_bindings | 97 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embeddee_bindings |
95 mojom("embeddee_bindings") { | 98 mojom("embeddee_bindings") { |
96 sources = [ | 99 sources = [ |
97 "embedded/embeddee.mojom", | 100 "embedded/embeddee.mojom", |
98 ] | 101 ] |
99 } | 102 } |
OLD | NEW |