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

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

Issue 713513002: Change mojo application name to {name}.mojo (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add missing library. Created 6 years, 1 month 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 | « examples/sample_app/BUILD.gn ('k') | 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/mojo_application.gni")
5 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
6 7
7 group("surfaces_app") { 8 group("surfaces_app") {
8 deps = [ 9 deps = [
9 ":child_app", 10 ":child_app",
10 ":child_gl_app", 11 ":child_gl_app",
11 ":parent_app", 12 ":parent_app",
12 ] 13 ]
13 } 14 }
14 15
15 shared_library("parent_app") { 16 mojo_native_application("parent_app") {
16 output_name = "surfaces_app" 17 output_name = "surfaces_app"
17 18
18 deps = [ 19 deps = [
19 ":bindings", 20 ":bindings",
20 ":util", 21 ":util",
21 "//base", 22 "//base",
22 "//cc", 23 "//cc",
23 "//cc/surfaces", 24 "//cc/surfaces",
24 "//skia", 25 "//skia",
25 "//ui/gfx", 26 "//ui/gfx",
(...skipping 12 matching lines...) Expand all
38 ] 39 ]
39 40
40 sources = [ 41 sources = [
41 "embedder.cc", 42 "embedder.cc",
42 "embedder.h", 43 "embedder.h",
43 "surfaces_app.cc", 44 "surfaces_app.cc",
44 ] 45 ]
45 } 46 }
46 47
47 48
48 shared_library("child_app") { 49 mojo_native_application("child_app") {
49 output_name = "surfaces_child_app" 50 output_name = "surfaces_child_app"
50 51
51 deps = [ 52 deps = [
52 ":bindings", 53 ":bindings",
53 ":util", 54 ":util",
54 "//base", 55 "//base",
55 "//cc", 56 "//cc",
56 "//cc/surfaces", 57 "//cc/surfaces",
57 "//mojo/application", 58 "//mojo/application",
58 "//mojo/common", 59 "//mojo/common",
(...skipping 10 matching lines...) Expand all
69 "//ui/gfx/geometry", 70 "//ui/gfx/geometry",
70 ] 71 ]
71 72
72 sources = [ 73 sources = [
73 "child_app.cc", 74 "child_app.cc",
74 "child_impl.cc", 75 "child_impl.cc",
75 "child_impl.h", 76 "child_impl.h",
76 ] 77 ]
77 } 78 }
78 79
79 shared_library("child_gl_app") { 80 mojo_native_application("child_gl_app") {
80 output_name = "surfaces_child_gl_app" 81 output_name = "surfaces_child_gl_app"
81 82
82 deps = [ 83 deps = [
83 ":bindings", 84 ":bindings",
84 ":util", 85 ":util",
85 "//base", 86 "//base",
86 "//cc", 87 "//cc",
87 "//cc/surfaces", 88 "//cc/surfaces",
88 "//examples/sample_app:spinning_cube", 89 "//examples/sample_app:spinning_cube",
89 "//gpu/command_buffer/common", 90 "//gpu/command_buffer/common",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 130
130 mojom("bindings") { 131 mojom("bindings") {
131 deps = [ 132 deps = [
132 "//mojo/services/public/interfaces/geometry", 133 "//mojo/services/public/interfaces/geometry",
133 "//mojo/services/public/interfaces/surfaces", 134 "//mojo/services/public/interfaces/surfaces",
134 "//mojo/services/public/interfaces/surfaces:surface_id", 135 "//mojo/services/public/interfaces/surfaces:surface_id",
135 ] 136 ]
136 137
137 sources = [ "child.mojom" ] 138 sources = [ "child.mojom" ]
138 } 139 }
OLDNEW
« no previous file with comments | « examples/sample_app/BUILD.gn ('k') | examples/wget/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698