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/common/common.gni") | 7 import("//content/common/common.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 | 9 |
10 if (is_chromeos && cpu_arch != "arm") { | 10 if (is_chromeos && cpu_arch != "arm") { |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 "gpu/media/android_video_decode_accelerator.cc", | 271 "gpu/media/android_video_decode_accelerator.cc", |
272 "gpu/media/android_video_decode_accelerator.h", | 272 "gpu/media/android_video_decode_accelerator.h", |
273 ] | 273 ] |
274 | 274 |
275 if (enable_webrtc) { | 275 if (enable_webrtc) { |
276 deps += [ "//third_party/libyuv" ] | 276 deps += [ "//third_party/libyuv" ] |
277 } | 277 } |
278 } | 278 } |
279 | 279 |
280 if (is_chromeos) { | 280 if (is_chromeos) { |
281 if (cpu_arch == "arm" && use_x11) { | 281 if (cpu_arch == "arm" || use_ozone) { |
282 sources += [ | 282 sources += [ |
283 "gpu/media/exynos_v4l2_video_device.cc", | 283 "gpu/media/generic_v4l2_video_device.cc", |
284 "gpu/media/exynos_v4l2_video_device.h", | 284 "gpu/media/generic_v4l2_video_device.h", |
285 "gpu/media/tegra_v4l2_video_device.cc", | |
286 "gpu/media/tegra_v4l2_video_device.h", | |
287 "gpu/media/v4l2_image_processor.cc", | 285 "gpu/media/v4l2_image_processor.cc", |
288 "gpu/media/v4l2_image_processor.h", | 286 "gpu/media/v4l2_image_processor.h", |
289 "gpu/media/v4l2_video_decode_accelerator.cc", | 287 "gpu/media/v4l2_video_decode_accelerator.cc", |
290 "gpu/media/v4l2_video_decode_accelerator.h", | 288 "gpu/media/v4l2_video_decode_accelerator.h", |
291 "gpu/media/v4l2_video_device.cc", | 289 "gpu/media/v4l2_video_device.cc", |
292 "gpu/media/v4l2_video_device.h", | 290 "gpu/media/v4l2_video_device.h", |
293 "gpu/media/v4l2_video_encode_accelerator.cc", | 291 "gpu/media/v4l2_video_encode_accelerator.cc", |
294 "gpu/media/v4l2_video_encode_accelerator.h", | 292 "gpu/media/v4l2_video_encode_accelerator.h", |
295 ] | 293 ] |
296 libs = [ | 294 libs = [ |
297 "EGL", | 295 "EGL", |
298 "GLESv2", | 296 "GLESv2", |
299 ] | 297 ] |
| 298 if (cpu_arch == "arm") { |
| 299 sources += [ |
| 300 "gpu/media/tegra_v4l2_video_device.cc", |
| 301 "gpu/media/tegra_v4l2_video_device.h", |
| 302 ] |
| 303 } |
300 } | 304 } |
301 if (cpu_arch != "arm") { | 305 if (cpu_arch != "arm") { |
302 sources += [ | 306 sources += [ |
303 "gpu/media/h264_dpb.cc", | 307 "gpu/media/h264_dpb.cc", |
304 "gpu/media/h264_dpb.h", | 308 "gpu/media/h264_dpb.h", |
305 "gpu/media/va_surface.h", | 309 "gpu/media/va_surface.h", |
306 "gpu/media/vaapi_h264_decoder.cc", | 310 "gpu/media/vaapi_h264_decoder.cc", |
307 "gpu/media/vaapi_h264_decoder.h", | 311 "gpu/media/vaapi_h264_decoder.h", |
308 "gpu/media/vaapi_picture.cc", | 312 "gpu/media/vaapi_picture.cc", |
309 "gpu/media/vaapi_picture.h", | 313 "gpu/media/vaapi_picture.h", |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 "geolocation_service.mojom", | 384 "geolocation_service.mojom", |
381 "permission_service.mojom", | 385 "permission_service.mojom", |
382 "render_frame_setup.mojom", | 386 "render_frame_setup.mojom", |
383 ] | 387 ] |
384 | 388 |
385 deps = [ | 389 deps = [ |
386 "//content/public/common:mojo_bindings", | 390 "//content/public/common:mojo_bindings", |
387 "//mojo/public/interfaces/application:application", | 391 "//mojo/public/interfaces/application:application", |
388 ] | 392 ] |
389 } | 393 } |
OLD | NEW |