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

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

Issue 1808203005: [OnionSoup] Moving VR service from content to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reworked as per new comments. Fixed build errors! 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 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 import("//third_party/webrtc/build/webrtc.gni") 9 import("//third_party/webrtc/build/webrtc.gni")
10 10
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 ] 234 ]
235 235
236 deps += [ 236 deps += [
237 "//media/mojo/interfaces", 237 "//media/mojo/interfaces",
238 238
239 # Defines in mojo_media_config are also pulled in here. 239 # Defines in mojo_media_config are also pulled in here.
240 "//media/mojo/services:proxy", 240 "//media/mojo/services:proxy",
241 ] 241 ]
242 } 242 }
243 243
244 if (enable_webvr) {
245 sources += [
246 "vr/vr_dispatcher.cc",
247 "vr/vr_dispatcher.h",
248 "vr/vr_type_converters.cc",
249 "vr/vr_type_converters.h",
250 ]
251 }
252
253 if (use_seccomp_bpf) { 244 if (use_seccomp_bpf) {
254 defines += [ "USE_SECCOMP_BPF" ] 245 defines += [ "USE_SECCOMP_BPF" ]
255 } 246 }
256 247
257 if (use_ozone) { 248 if (use_ozone) {
258 deps += [ "//ui/ozone" ] 249 deps += [ "//ui/ozone" ]
259 } 250 }
260 } 251 }
261 252
262 # See comment at the top of //content/BUILD.gn for how this works. 253 # See comment at the top of //content/BUILD.gn for how this works.
263 group("for_content_tests") { 254 group("for_content_tests") {
264 visibility = [ "//content/test/*" ] 255 visibility = [ "//content/test/*" ]
265 256
266 if (enable_mojo_media) { 257 if (enable_mojo_media) {
267 # For the defines in mojo_media_config. 258 # For the defines in mojo_media_config.
268 public_configs = [ "//media/mojo/services:mojo_media_config" ] 259 public_configs = [ "//media/mojo/services:mojo_media_config" ]
269 } 260 }
270 261
271 if (!is_component_build) { 262 if (!is_component_build) {
272 public_deps = [ 263 public_deps = [
273 ":renderer", 264 ":renderer",
274 ] 265 ]
275 } 266 }
276 } 267 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698