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

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

Issue 554363005: GN: Replace mojo/system.gni with forwarding groups (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/sample_app/BUILD.gn ('k') | mojo/examples/wget/BUILD.gn » ('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("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 import("//mojo/system.gni")
7 6
8 group("surfaces_app") { 7 group("surfaces_app") {
9 deps = [ 8 deps = [
10 ":child_app", 9 ":child_app",
11 ":child_gl_app", 10 ":child_gl_app",
12 ":parent_app", 11 ":parent_app",
13 ] 12 ]
14 } 13 }
15 14
16 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app 15 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app
17 shared_library("parent_app") { 16 shared_library("parent_app") {
18 output_name = "mojo_surfaces_app" 17 output_name = "mojo_surfaces_app"
19 18
20 deps = [ 19 deps = [
21 ":bindings", 20 ":bindings",
22 ":util", 21 ":util",
23 "//base", 22 "//base",
24 "//cc", 23 "//cc",
25 "//cc/surfaces", 24 "//cc/surfaces",
26 "//skia", 25 "//skia",
27 "//ui/gfx", 26 "//ui/gfx",
28 "//ui/gfx/geometry", 27 "//ui/gfx/geometry",
29 "//mojo/application", 28 "//mojo/application",
30 "//mojo/common", 29 "//mojo/common",
31 "//mojo/environment:chromium", 30 "//mojo/environment:chromium",
31 "//mojo/public/c/system:for_shared_library",
32 "//mojo/services/public/interfaces/geometry", 32 "//mojo/services/public/interfaces/geometry",
33 "//mojo/services/public/cpp/geometry", 33 "//mojo/services/public/cpp/geometry",
34 "//mojo/services/public/interfaces/surfaces", 34 "//mojo/services/public/interfaces/surfaces",
35 "//mojo/services/public/cpp/surfaces", 35 "//mojo/services/public/cpp/surfaces",
36 ] + mojo_system_for_shared_library 36 ]
37 37
38 sources = [ 38 sources = [
39 "embedder.cc", 39 "embedder.cc",
40 "embedder.h", 40 "embedder.h",
41 "surfaces_app.cc", 41 "surfaces_app.cc",
42 ] 42 ]
43 } 43 }
44 44
45 45
46 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_child_app 46 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_child_app
47 shared_library("child_app") { 47 shared_library("child_app") {
48 output_name = "mojo_surfaces_child_app" 48 output_name = "mojo_surfaces_child_app"
49 49
50 deps = [ 50 deps = [
51 ":bindings", 51 ":bindings",
52 ":util", 52 ":util",
53 "//base", 53 "//base",
54 "//cc", 54 "//cc",
55 "//cc/surfaces", 55 "//cc/surfaces",
56 "//skia", 56 "//skia",
57 "//ui/gfx", 57 "//ui/gfx",
58 "//ui/gfx/geometry", 58 "//ui/gfx/geometry",
59 "//mojo/application", 59 "//mojo/application",
60 "//mojo/common", 60 "//mojo/common",
61 "//mojo/environment:chromium", 61 "//mojo/environment:chromium",
62 "//mojo/public/c/system:for_shared_library",
62 "//mojo/services/public/interfaces/geometry", 63 "//mojo/services/public/interfaces/geometry",
63 "//mojo/services/public/cpp/geometry", 64 "//mojo/services/public/cpp/geometry",
64 "//mojo/services/public/interfaces/surfaces", 65 "//mojo/services/public/interfaces/surfaces",
65 "//mojo/services/public/cpp/surfaces", 66 "//mojo/services/public/cpp/surfaces",
66 ] + mojo_system_for_shared_library 67 ]
67 68
68 sources = [ 69 sources = [
69 "child_app.cc", 70 "child_app.cc",
70 "child_impl.cc", 71 "child_impl.cc",
71 "child_impl.h", 72 "child_impl.h",
72 ] 73 ]
73 } 74 }
74 75
75 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_child_gl_app 76 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_child_gl_app
76 shared_library("child_gl_app") { 77 shared_library("child_gl_app") {
77 output_name = "mojo_surfaces_child_gl_app" 78 output_name = "mojo_surfaces_child_gl_app"
78 79
79 deps = [ 80 deps = [
80 ":bindings", 81 ":bindings",
81 ":util", 82 ":util",
82 "//base", 83 "//base",
83 "//cc", 84 "//cc",
84 "//cc/surfaces", 85 "//cc/surfaces",
85 "//skia", 86 "//skia",
86 "//ui/gfx", 87 "//ui/gfx",
87 "//ui/gfx/geometry", 88 "//ui/gfx/geometry",
88 "//mojo/common", 89 "//mojo/common",
89 "//mojo/application", 90 "//mojo/application",
90 "//mojo/environment:chromium", 91 "//mojo/environment:chromium",
91 "//mojo/examples/sample_app:spinning_cube", 92 "//mojo/examples/sample_app:spinning_cube",
93 "//mojo/public/c/system:for_shared_library",
94 "//mojo/public/gles2:for_shared_library",
92 "//mojo/services/public/interfaces/geometry", 95 "//mojo/services/public/interfaces/geometry",
93 "//mojo/services/public/cpp/geometry", 96 "//mojo/services/public/cpp/geometry",
94 "//mojo/services/public/interfaces/surfaces", 97 "//mojo/services/public/interfaces/surfaces",
95 "//mojo/services/public/cpp/surfaces", 98 "//mojo/services/public/cpp/surfaces",
96 ] + mojo_system_for_shared_library + mojo_gles2_for_shared_library 99 ]
97 100
98 sources = [ 101 sources = [
99 "child_gl_app.cc", 102 "child_gl_app.cc",
100 "child_gl_impl.cc", 103 "child_gl_impl.cc",
101 "child_gl_impl.h", 104 "child_gl_impl.h",
102 ] 105 ]
103 } 106 }
104 107
105 source_set("util") { 108 source_set("util") {
106 deps = [ 109 deps = [
107 "//cc", 110 "//cc",
108 "//skia", 111 "//skia",
109 ] 112 ]
110 113
111 sources = [ 114 sources = [
112 "surfaces_util.cc", 115 "surfaces_util.cc",
113 "surfaces_util.h", 116 "surfaces_util.h",
114 ] 117 ]
115 } 118 }
116 119
117 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app_bindings 120 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app_bindings
118 mojom("bindings") { 121 mojom("bindings") {
119 deps = [ 122 deps = [
120 "//mojo/services/public/interfaces/geometry", 123 "//mojo/services/public/interfaces/geometry",
121 "//mojo/services/public/interfaces/surfaces", 124 "//mojo/services/public/interfaces/surfaces",
122 ] 125 ]
123 126
124 sources = [ "child.mojom" ] 127 sources = [ "child.mojom" ]
125 } 128 }
OLDNEW
« no previous file with comments | « mojo/examples/sample_app/BUILD.gn ('k') | mojo/examples/wget/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698