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

Side by Side Diff: blimp/engine/BUILD.gn

Issue 1859753002: Blimp: create Mojo component for renderer/browser communication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//mojo/public/tools/bindings/mojom.gni")
8 import("//tools/grit/repack.gni") 9 import("//tools/grit/repack.gni")
9 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
10 11
11 repack("pak") { 12 repack("pak") {
12 sources = [ 13 sources = [
13 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" , 14 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" ,
14 "$root_gen_dir/blink/public/resources/blink_resources.pak", 15 "$root_gen_dir/blink/public/resources/blink_resources.pak",
15 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", 16 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak",
16 "$root_gen_dir/content/app/strings/content_strings_en-US.pak", 17 "$root_gen_dir/content/app/strings/content_strings_en-US.pak",
17 "$root_gen_dir/content/browser/tracing/tracing_resources.pak", 18 "$root_gen_dir/content/browser/tracing/tracing_resources.pak",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 "app/engine_settings.cc", 66 "app/engine_settings.cc",
66 "app/engine_settings.h", 67 "app/engine_settings.h",
67 "app/settings_manager.cc", 68 "app/settings_manager.cc",
68 "app/settings_manager.h", 69 "app/settings_manager.h",
69 "app/switches.cc", 70 "app/switches.cc",
70 "app/switches.h", 71 "app/switches.h",
71 ] 72 ]
72 73
73 deps = [ 74 deps = [
74 ":app_ui", 75 ":app_ui",
76 ":blob_channel",
nyquist 2016/04/05 22:13:19 Did you mean to just depend on //blimp/engine/mojo
Kevin M 2016/04/06 00:01:43 Sorry - b/e/mojo/BUILD.gn should have been removed
75 ":common", 77 ":common",
78 ":renderer",
76 ":session", 79 ":session",
77 "//base", 80 "//base",
78 "//blimp/common/proto", 81 "//blimp/common/proto",
79 "//components/web_cache/renderer", 82 "//components/web_cache/renderer",
80 "//content", 83 "//content",
81 "//content/public/app:both", 84 "//content/public/app:both",
82 "//content/public/browser", 85 "//content/public/browser",
83 "//content/public/common", 86 "//content/public/common",
84 "//content/public/renderer", 87 "//content/public/renderer",
85 "//content/public/utility", 88 "//content/public/utility",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 deps = [ 142 deps = [
140 "//base", 143 "//base",
141 "//blimp/common/proto", 144 "//blimp/common/proto",
142 "//ui/base", 145 "//ui/base",
143 "//ui/base/ime", 146 "//ui/base/ime",
144 "//ui/resources", 147 "//ui/resources",
145 "//ui/wm", 148 "//ui/wm",
146 ] 149 ]
147 } 150 }
148 151
152 source_set("renderer") {
153 sources = [
154 "renderer/engine_image_serialization_processor.cc",
155 "renderer/engine_image_serialization_processor.h",
156 ]
157
158 deps = [
159 ":blob_channel_mojo",
nyquist 2016/04/05 22:13:19 Did you mean to just depend on the stuff in //blim
Kevin M 2016/04/06 00:01:43 Acknowledged.
160 "//base",
161 "//cc",
162 "//skia",
163 "//third_party/libwebp",
164 "//ui/gfx/geometry",
165 "//ui/gl",
166 ]
167 }
168
149 source_set("session") { 169 source_set("session") {
150 sources = [ 170 sources = [
151 "session/blimp_engine_session.cc", 171 "session/blimp_engine_session.cc",
152 "session/blimp_engine_session.h", 172 "session/blimp_engine_session.h",
153 ] 173 ]
154 174
155 deps = [ 175 deps = [
156 ":feature", 176 ":feature",
157 "//base", 177 "//base",
158 "//blimp/common:blimp_common", 178 "//blimp/common:blimp_common",
159 "//blimp/common/proto", 179 "//blimp/common/proto",
160 "//blimp/net:blimp_net", 180 "//blimp/net:blimp_net",
161 "//content", 181 "//content",
162 "//net", 182 "//net",
163 ] 183 ]
164 } 184 }
165 185
186 # Implements the browser portions of the Mojo bridge to BlobChannel.
187 source_set("blob_channel") {
188 sources = [
189 "mojo/blob_channel_mojo_impl.cc",
190 "mojo/blob_channel_mojo_impl.h",
191 ]
192 deps = [
193 ":blob_channel_mojo",
194 ]
195 }
196
197 mojom("blob_channel_mojo") {
198 sources = [
199 "mojo/blob_channel.mojom",
200 ]
201 }
202
166 source_set("app_unit_tests") { 203 source_set("app_unit_tests") {
167 testonly = true 204 testonly = true
168 205
169 sources = [ 206 sources = [
170 "app/blimp_engine_config_unittest.cc", 207 "app/blimp_engine_config_unittest.cc",
171 "app/settings_manager_unittest.cc", 208 "app/settings_manager_unittest.cc",
172 "app/ui/blimp_screen_unittest.cc", 209 "app/ui/blimp_screen_unittest.cc",
173 ] 210 ]
174 211
175 deps = [ 212 deps = [
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 _rebased_dockerfile, 309 _rebased_dockerfile,
273 "--startup-script", 310 "--startup-script",
274 _rebased_startup_script, 311 _rebased_startup_script,
275 "--manifest", 312 "--manifest",
276 _rebased_manifest, 313 _rebased_manifest,
277 "--output", 314 "--output",
278 rebase_path(_bundle), 315 rebase_path(_bundle),
279 ] 316 ]
280 } 317 }
281 } 318 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698