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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 ] | 236 ] |
237 | 237 |
238 deps += [ | 238 deps += [ |
239 "//media/mojo/interfaces", | 239 "//media/mojo/interfaces", |
240 | 240 |
241 # Defines in mojo_media_config are also pulled in here. | 241 # Defines in mojo_media_config are also pulled in here. |
242 "//media/mojo/services:proxy", | 242 "//media/mojo/services:proxy", |
243 ] | 243 ] |
244 } | 244 } |
245 | 245 |
246 if (enable_webvr) { | |
247 sources += [ | |
248 "vr/vr_dispatcher.cc", | |
249 "vr/vr_dispatcher.h", | |
250 "vr/vr_type_converters.cc", | |
251 "vr/vr_type_converters.h", | |
252 ] | |
253 } | |
254 | |
255 if (use_seccomp_bpf) { | 246 if (use_seccomp_bpf) { |
256 defines += [ "USE_SECCOMP_BPF" ] | 247 defines += [ "USE_SECCOMP_BPF" ] |
257 } | 248 } |
258 | 249 |
259 if (use_ozone) { | 250 if (use_ozone) { |
260 deps += [ "//ui/ozone" ] | 251 deps += [ "//ui/ozone" ] |
261 } | 252 } |
262 } | 253 } |
263 | 254 |
264 # See comment at the top of //content/BUILD.gn for how this works. | 255 # See comment at the top of //content/BUILD.gn for how this works. |
265 group("for_content_tests") { | 256 group("for_content_tests") { |
266 visibility = [ "//content/test/*" ] | 257 visibility = [ "//content/test/*" ] |
267 | 258 |
268 if (enable_mojo_media) { | 259 if (enable_mojo_media) { |
269 # For the defines in mojo_media_config. | 260 # For the defines in mojo_media_config. |
270 public_configs = [ "//media/mojo/services:mojo_media_config" ] | 261 public_configs = [ "//media/mojo/services:mojo_media_config" ] |
271 } | 262 } |
272 | 263 |
273 if (!is_component_build) { | 264 if (!is_component_build) { |
274 public_deps = [ | 265 public_deps = [ |
275 ":renderer", | 266 ":renderer", |
276 ] | 267 ] |
277 } | 268 } |
278 } | 269 } |
OLD | NEW |