OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 import("//build/config/ui.gni") | |
6 import("//mojo/public/tools/bindings/mojom.gni") | |
7 | |
8 assert(use_aura) | |
9 | |
10 group("wm_flow") { | |
11 deps = [ | |
12 ":app", | |
13 ":embedded", | |
14 ":wm", | |
15 ] | |
16 } | |
17 | |
18 shared_library("wm") { | |
19 output_name = "wm_flow_wm" | |
20 | |
21 sources = [ | |
22 "wm/wm.cc", | |
23 "wm/frame_controller.cc", | |
24 "wm/frame_controller.h", | |
25 ] | |
26 | |
27 deps = [ | |
28 "//base", | |
29 "//skia", | |
30 "//ui/aura", | |
31 "//ui/views", | |
32 "//ui/wm:wm", | |
33 "//mojo/application", | |
34 "//mojo/public/c/system:for_shared_library", | |
35 "//mojo/services/public/cpp/view_manager", | |
36 "//mojo/services/public/interfaces/input_events", | |
37 "//mojo/services/window_manager:lib", | |
38 "//mojo/views:views", | |
39 ] | |
40 } | |
41 | |
42 shared_library("app") { | |
43 output_name = "wm_flow_app" | |
44 | |
45 sources = [ | |
46 "app/app.cc", | |
47 ] | |
48 | |
49 deps = [ | |
50 ":embedder_bindings", | |
51 ":embeddee_bindings", | |
52 "//base", | |
53 "//mojo/application", | |
54 "//mojo/examples/bitmap_uploader", | |
55 "//mojo/public/c/system:for_shared_library", | |
56 "//mojo/public/interfaces/application:application", | |
57 "//mojo/services/public/cpp/view_manager", | |
58 "//mojo/services/window_manager:lib", | |
59 ] | |
60 } | |
61 | |
62 shared_library("embedded") { | |
63 output_name = "wm_flow_embedded" | |
64 | |
65 sources = [ | |
66 "embedded/embedded.cc", | |
67 ] | |
68 | |
69 deps = [ | |
70 ":embeddee_bindings", | |
71 ":embedder_bindings", | |
72 "//base", | |
73 "//mojo/application", | |
74 "//mojo/examples/bitmap_uploader", | |
75 "//mojo/public/c/system:for_shared_library", | |
76 "//mojo/services/public/cpp/view_manager", | |
77 "//mojo/services/window_manager:lib", | |
78 ] | |
79 } | |
80 | |
81 mojom("embedder_bindings") { | |
82 sources = [ | |
83 "app/embedder.mojom", | |
84 ] | |
85 } | |
86 | |
87 mojom("embeddee_bindings") { | |
88 sources = [ | |
89 "embedded/embeddee.mojom", | |
90 ] | |
91 } | |
OLD | NEW |