Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
|
wuchengli
2015/01/08 11:16:46
Explain in the change description why we are doing
henryhsu
2015/01/08 12:11:19
Done.
| |
| 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") { |
| 11 action("libva_generate_stubs") { | 11 action("libva_generate_stubs") { |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 274 "gpu/media/android_video_decode_accelerator.cc", | 274 "gpu/media/android_video_decode_accelerator.cc", |
| 275 "gpu/media/android_video_decode_accelerator.h", | 275 "gpu/media/android_video_decode_accelerator.h", |
| 276 ] | 276 ] |
| 277 | 277 |
| 278 if (enable_webrtc) { | 278 if (enable_webrtc) { |
| 279 deps += [ "//third_party/libyuv" ] | 279 deps += [ "//third_party/libyuv" ] |
| 280 } | 280 } |
| 281 } | 281 } |
| 282 | 282 |
| 283 if (is_chromeos) { | 283 if (is_chromeos) { |
| 284 if (cpu_arch == "arm" && use_x11) { | 284 if ((cpu_arch == "arm" && use_x11) || use_v4l2_codec) { |
| 285 sources += [ | 285 sources += [ |
| 286 "gpu/media/exynos_v4l2_video_device.cc", | 286 "gpu/media/exynos_v4l2_video_device.cc", |
|
wuchengli
2015/01/08 11:16:46
Change this to generic_v4l2_video_device.cc.
henryhsu
2015/01/08 12:11:19
Done.
| |
| 287 "gpu/media/exynos_v4l2_video_device.h", | 287 "gpu/media/exynos_v4l2_video_device.h", |
| 288 "gpu/media/tegra_v4l2_video_device.cc", | |
| 289 "gpu/media/tegra_v4l2_video_device.h", | |
| 290 "gpu/media/v4l2_image_processor.cc", | 288 "gpu/media/v4l2_image_processor.cc", |
| 291 "gpu/media/v4l2_image_processor.h", | 289 "gpu/media/v4l2_image_processor.h", |
| 292 "gpu/media/v4l2_video_decode_accelerator.cc", | 290 "gpu/media/v4l2_video_decode_accelerator.cc", |
| 293 "gpu/media/v4l2_video_decode_accelerator.h", | 291 "gpu/media/v4l2_video_decode_accelerator.h", |
| 294 "gpu/media/v4l2_video_device.cc", | 292 "gpu/media/v4l2_video_device.cc", |
| 295 "gpu/media/v4l2_video_device.h", | 293 "gpu/media/v4l2_video_device.h", |
| 296 "gpu/media/v4l2_video_encode_accelerator.cc", | 294 "gpu/media/v4l2_video_encode_accelerator.cc", |
| 297 "gpu/media/v4l2_video_encode_accelerator.h", | 295 "gpu/media/v4l2_video_encode_accelerator.h", |
| 298 ] | 296 ] |
| 299 libs = [ | 297 libs = [ |
| 300 "EGL", | 298 "EGL", |
| 301 "GLESv2", | 299 "GLESv2", |
| 302 ] | 300 ] |
| 301 if (cpu_arch == "arm") { | |
| 302 sources += [ | |
| 303 "gpu/media/tegra_v4l2_video_device.cc", | |
| 304 "gpu/media/tegra_v4l2_video_device.h", | |
| 305 ] | |
| 306 } | |
| 303 } | 307 } |
| 304 if (cpu_arch != "arm") { | 308 if (cpu_arch != "arm") { |
| 305 sources += [ | 309 sources += [ |
| 306 "gpu/media/h264_dpb.cc", | 310 "gpu/media/h264_dpb.cc", |
| 307 "gpu/media/h264_dpb.h", | 311 "gpu/media/h264_dpb.h", |
| 308 "gpu/media/va_surface.h", | 312 "gpu/media/va_surface.h", |
| 309 "gpu/media/vaapi_h264_decoder.cc", | 313 "gpu/media/vaapi_h264_decoder.cc", |
| 310 "gpu/media/vaapi_h264_decoder.h", | 314 "gpu/media/vaapi_h264_decoder.h", |
| 311 "gpu/media/vaapi_picture.cc", | 315 "gpu/media/vaapi_picture.cc", |
| 312 "gpu/media/vaapi_picture.h", | 316 "gpu/media/vaapi_picture.h", |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 389 "geolocation_service.mojom", | 393 "geolocation_service.mojom", |
| 390 "permission_service.mojom", | 394 "permission_service.mojom", |
| 391 "render_frame_setup.mojom", | 395 "render_frame_setup.mojom", |
| 392 ] | 396 ] |
| 393 | 397 |
| 394 deps = [ | 398 deps = [ |
| 395 "//content/public/common:mojo_bindings", | 399 "//content/public/common:mojo_bindings", |
| 396 "//mojo/public/interfaces/application:application", | 400 "//mojo/public/interfaces/application:application", |
| 397 ] | 401 ] |
| 398 } | 402 } |
| OLD | NEW |