Remove the RenderProcessHost observer and attach the WebContentsObserver earlier...
[chromium-blink-merge.git] / mojo / examples / wm_flow / BUILD.gn
blob50ce50774d3154564715887d1909231eb2a4a475
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.
5 import("//build/config/ui.gni")
6 import("//mojo/public/tools/bindings/mojom.gni")
8 assert(use_aura)
10 group("wm_flow" ) {
11   deps = [
12     ":app",
13     ":embedded",
14     ":init",
15     ":wm",
16   ]
19 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_wm
20 shared_library("wm") {
21   output_name = "mojo_wm_flow_wm"
23   sources = [
24     "wm/wm.cc",
25     "wm/frame_controller.cc",
26     "wm/frame_controller.h",
27   ]
29   deps = [
30     "//base",
31     "//mojo/application",
32     "//mojo/public/c/system:for_shared_library",
33     "//mojo/services/public/cpp/view_manager",
34     "//mojo/services/window_manager:lib",
35     "//mojo/views",
36   ]
39 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_init
40 shared_library("init") {
41   output_name = "mojo_wm_flow_init"
43   sources = [
44     "init/init.cc",
45   ]
47   deps = [
48     "//base",
49     "//mojo/application",
50     "//mojo/public/c/system:for_shared_library",
51     "//mojo/services/public/cpp/view_manager",
52     "//mojo/services/public/interfaces/view_manager",
53   ]
56 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_app
57 shared_library("app") {
58   output_name = "mojo_wm_flow_app"
60   sources = [
61     "app/app.cc",
62   ]
64   deps = [
65     ":embedder_bindings",
66     ":embeddee_bindings",
67     "//base",
68     "//mojo/application",
69     "//mojo/examples/bitmap_uploader",
70     "//mojo/public/c/system:for_shared_library",
71     "//mojo/services/public/cpp/view_manager",
72     "//mojo/services/window_manager:lib",
73   ]
76 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embedded
77 shared_library("embedded") {
78   output_name = "mojo_wm_flow_embedded"
80   sources = [
81     "embedded/embedded.cc",
82   ]
84   deps = [
85     ":embedder_bindings",
86     ":embeddee_bindings",
87     "//base",
88     "//mojo/application",
89     "//mojo/examples/bitmap_uploader",
90     "//mojo/public/c/system:for_shared_library",
91     "//mojo/services/public/cpp/view_manager",
92     "//mojo/services/window_manager:lib",
93   ]
96 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embedder_bindings
97 mojom("embedder_bindings") {
98   sources = [
99     "app/embedder.mojom",
100   ]
103 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embeddee_bindings
104 mojom("embeddee_bindings") {
105   sources = [
106     "embedded/embeddee.mojom",
107   ]