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

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

Issue 1536863002: Delete the Surfaces service. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-4
Patch Set: rebase Created 4 years, 10 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 | « examples/bitmap_uploader/bitmap_uploader.cc ('k') | examples/surfaces_app/child.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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("//mojo/public/mojo_application.gni")
6 import("//mojo/public/tools/bindings/mojom.gni")
7
8 group("surfaces_app") {
9 deps = [
10 ":child_app",
11 ":child_gl_app",
12 ":parent_app",
13 ]
14 }
15
16 mojo_native_application("parent_app") {
17 output_name = "surfaces_app"
18
19 deps = [
20 ":bindings",
21 ":util",
22 "//base",
23 "//cc",
24 "//cc/surfaces",
25 "//cc/surfaces:surface_id",
26 "//skia",
27 "//ui/gfx",
28 "//ui/gfx/geometry",
29 "//mojo/application",
30 "//mojo/common",
31 "//mojo/converters/geometry",
32 "//mojo/converters/surfaces",
33 "//mojo/environment:chromium",
34 "//mojo/public/cpp/system",
35 "//mojo/services/geometry/interfaces",
36 "//mojo/services/gpu/interfaces",
37 "//mojo/services/native_viewport/interfaces",
38 "//mojo/services/surfaces/interfaces",
39 ]
40
41 sources = [
42 "embedder.cc",
43 "embedder.h",
44 "surfaces_app.cc",
45 ]
46 }
47
48 mojo_native_application("child_app") {
49 output_name = "surfaces_child_app"
50
51 deps = [
52 ":bindings",
53 ":util",
54 "//base",
55 "//cc",
56 "//cc/surfaces",
57 "//cc/surfaces:surface_id",
58 "//mojo/application",
59 "//mojo/common",
60 "//mojo/converters/geometry",
61 "//mojo/converters/surfaces",
62 "//mojo/environment:chromium",
63 "//mojo/public/cpp/bindings",
64 "//mojo/services/geometry/interfaces",
65 "//mojo/services/surfaces/interfaces",
66 "//mojo/services/surfaces/interfaces:surface_id",
67 "//skia",
68 "//ui/gfx",
69 "//ui/gfx/geometry",
70 ]
71
72 sources = [
73 "child_app.cc",
74 "child_impl.cc",
75 "child_impl.h",
76 ]
77 }
78
79 mojo_native_application("child_gl_app") {
80 output_name = "surfaces_child_gl_app"
81
82 deps = [
83 ":bindings",
84 ":util",
85 "//base",
86 "//cc",
87 "//cc/surfaces",
88 "//cc/surfaces:surface_id",
89 "//examples/spinning_cube:lib",
90 "//gpu/command_buffer/common",
91 "//mojo/application",
92 "//mojo/common",
93 "//mojo/converters/geometry",
94 "//mojo/converters/surfaces",
95 "//mojo/environment:chromium",
96 "//mojo/public/c/gpu",
97 "//mojo/public/cpp/bindings",
98 "//mojo/public/cpp/environment",
99 "//mojo/public/cpp/system",
100 "//mojo/services/geometry/interfaces",
101 "//mojo/services/gpu/interfaces",
102 "//mojo/services/surfaces/interfaces",
103 "//mojo/services/surfaces/interfaces:surface_id",
104 "//skia",
105 "//ui/gfx",
106 "//ui/gfx/geometry",
107 ]
108
109 sources = [
110 "child_gl_app.cc",
111 "child_gl_impl.cc",
112 "child_gl_impl.h",
113 ]
114 }
115
116 source_set("util") {
117 deps = [
118 "//cc",
119 "//skia",
120 "//ui/gfx",
121 "//ui/gfx/geometry",
122 ]
123
124 sources = [
125 "surfaces_util.cc",
126 "surfaces_util.h",
127 ]
128 }
129
130 mojom("bindings") {
131 deps = [
132 "//mojo/services/geometry/interfaces",
133 "//mojo/services/surfaces/interfaces",
134 "//mojo/services/surfaces/interfaces:surface_id",
135 ]
136
137 import_dirs = [ get_path_info("../../mojo/services", "abspath") ]
138
139 sources = [
140 "child.mojom",
141 ]
142 }
OLDNEW
« no previous file with comments | « examples/bitmap_uploader/bitmap_uploader.cc ('k') | examples/surfaces_app/child.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698