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

Side by Side Diff: content/renderer/BUILD.gn

Issue 1906883002: [Do Not Commit] Migrate vr service from content/renderer/ to WebKit/platform/ (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
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/render_frame_impl.h » ('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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//content/renderer/renderer.gni") 7 import("//content/renderer/renderer.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 9
10 source_set("renderer") { 10 source_set("renderer") {
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 ] 230 ]
231 231
232 deps += [ 232 deps += [
233 "//media/mojo/interfaces", 233 "//media/mojo/interfaces",
234 234
235 # Defines in mojo_media_config are also pulled in here. 235 # Defines in mojo_media_config are also pulled in here.
236 "//media/mojo/services:proxy", 236 "//media/mojo/services:proxy",
237 ] 237 ]
238 } 238 }
239 239
240 if (enable_webvr) {
241 sources += [
242 "vr/vr_dispatcher.cc",
243 "vr/vr_dispatcher.h",
244 "vr/vr_type_converters.cc",
245 "vr/vr_type_converters.h",
246 ]
247 }
248
249 if (use_seccomp_bpf) { 240 if (use_seccomp_bpf) {
250 defines += [ "USE_SECCOMP_BPF" ] 241 defines += [ "USE_SECCOMP_BPF" ]
251 } 242 }
252 243
253 if (use_ozone) { 244 if (use_ozone) {
254 deps += [ "//ui/ozone" ] 245 deps += [ "//ui/ozone" ]
255 } 246 }
256 } 247 }
257 248
258 # See comment at the top of //content/BUILD.gn for how this works. 249 # See comment at the top of //content/BUILD.gn for how this works.
259 group("for_content_tests") { 250 group("for_content_tests") {
260 visibility = [ "//content/test/*" ] 251 visibility = [ "//content/test/*" ]
261 252
262 if (enable_mojo_media) { 253 if (enable_mojo_media) {
263 # For the defines in mojo_media_config. 254 # For the defines in mojo_media_config.
264 public_configs = [ "//media/mojo/services:mojo_media_config" ] 255 public_configs = [ "//media/mojo/services:mojo_media_config" ]
265 } 256 }
266 257
267 if (!is_component_build) { 258 if (!is_component_build) {
268 public_deps = [ 259 public_deps = [
269 ":renderer", 260 ":renderer",
270 ] 261 ]
271 } 262 }
272 } 263 }
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698