Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: mojo/examples/wm_flow/BUILD.gn

Issue 658753004: Make wm_flow_init work with gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: done Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/examples/window_manager/BUILD.gn ('k') | mojo/examples/wm_flow/init/init.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7
8 assert(use_aura) 8 assert(use_aura)
9 9
10 group("wm_flow" ) { 10 group("wm_flow") {
11 deps = [ 11 deps = [
12 ":app", 12 ":app",
13 ":embedded", 13 ":embedded",
14 ":init", 14 ":init",
15 ":wm", 15 ":wm",
16 ] 16 ]
17 } 17 }
18 18
19 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_wm 19 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_wm
20 shared_library("wm") { 20 shared_library("wm") {
21 output_name = "mojo_wm_flow_wm" 21 output_name = "mojo_wm_flow_wm"
22 22
23 sources = [ 23 sources = [
24 "wm/wm.cc", 24 "wm/wm.cc",
25 "wm/frame_controller.cc", 25 "wm/frame_controller.cc",
26 "wm/frame_controller.h", 26 "wm/frame_controller.h",
27 ] 27 ]
28 28
29 deps = [ 29 deps = [
30 "//base", 30 "//base",
31 "//skia",
32 "//ui/aura",
33 "//ui/views",
34 "//ui/wm:wm",
31 "//mojo/application", 35 "//mojo/application",
32 "//mojo/public/c/system:for_shared_library", 36 "//mojo/public/c/system:for_shared_library",
33 "//mojo/services/public/cpp/view_manager", 37 "//mojo/services/public/cpp/view_manager",
38 "//mojo/services/public/interfaces/input_events",
34 "//mojo/services/window_manager:lib", 39 "//mojo/services/window_manager:lib",
35 "//mojo/views", 40 "//mojo/views:views",
36 ] 41 ]
37 } 42 }
38 43
39 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_init 44 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_init
40 shared_library("init") { 45 shared_library("init") {
41 output_name = "mojo_wm_flow_init" 46 output_name = "mojo_wm_flow_init"
42 47
43 sources = [ 48 sources = [
44 "init/init.cc", 49 "init/init.cc",
45 ] 50 ]
46 51
47 deps = [ 52 deps = [
48 "//base", 53 "//base",
54 "//ui/gfx",
55 "//ui/gfx/geometry",
49 "//mojo/application", 56 "//mojo/application",
50 "//mojo/public/c/system:for_shared_library", 57 "//mojo/public/c/system:for_shared_library",
58 "//mojo/public/interfaces/application:application",
51 "//mojo/services/public/cpp/view_manager", 59 "//mojo/services/public/cpp/view_manager",
52 "//mojo/services/public/interfaces/view_manager", 60 "//mojo/services/public/interfaces/view_manager",
53 ] 61 ]
54 } 62 }
55 63
56 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_app 64 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_app
57 shared_library("app") { 65 shared_library("app") {
58 output_name = "mojo_wm_flow_app" 66 output_name = "mojo_wm_flow_app"
59 67
60 sources = [ 68 sources = [
61 "app/app.cc", 69 "app/app.cc",
62 ] 70 ]
63 71
64 deps = [ 72 deps = [
65 ":embedder_bindings", 73 ":embedder_bindings",
66 ":embeddee_bindings", 74 ":embeddee_bindings",
67 "//base", 75 "//base",
68 "//mojo/application", 76 "//mojo/application",
69 "//mojo/examples/bitmap_uploader", 77 "//mojo/examples/bitmap_uploader",
70 "//mojo/public/c/system:for_shared_library", 78 "//mojo/public/c/system:for_shared_library",
79 "//mojo/public/interfaces/application:application",
71 "//mojo/services/public/cpp/view_manager", 80 "//mojo/services/public/cpp/view_manager",
72 "//mojo/services/window_manager:lib", 81 "//mojo/services/window_manager:lib",
73 ] 82 ]
74 } 83 }
75 84
76 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embedded 85 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embedded
77 shared_library("embedded") { 86 shared_library("embedded") {
78 output_name = "mojo_wm_flow_embedded" 87 output_name = "mojo_wm_flow_embedded"
79 88
80 sources = [ 89 sources = [
(...skipping 18 matching lines...) Expand all
99 "app/embedder.mojom", 108 "app/embedder.mojom",
100 ] 109 ]
101 } 110 }
102 111
103 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embeddee_bindings 112 # GYP version: mojo/mojo_examples.gypi:mojo_wm_flow_embeddee_bindings
104 mojom("embeddee_bindings") { 113 mojom("embeddee_bindings") {
105 sources = [ 114 sources = [
106 "embedded/embeddee.mojom", 115 "embedded/embeddee.mojom",
107 ] 116 ]
108 } 117 }
OLDNEW
« no previous file with comments | « mojo/examples/window_manager/BUILD.gn ('k') | mojo/examples/wm_flow/init/init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698