| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |