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