Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(813)

Side by Side Diff: content/common/BUILD.gn

Issue 832383004: Revert of Support multiple video decoders and encoders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/common/gpu/media/gpu_video_decode_accelerator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_ozone) { 281 if (cpu_arch == "arm" && use_x11) {
282 sources += [ 282 sources += [
283 "gpu/media/generic_v4l2_video_device.cc", 283 "gpu/media/exynos_v4l2_video_device.cc",
284 "gpu/media/generic_v4l2_video_device.h", 284 "gpu/media/exynos_v4l2_video_device.h",
285 "gpu/media/tegra_v4l2_video_device.cc",
286 "gpu/media/tegra_v4l2_video_device.h",
285 "gpu/media/v4l2_image_processor.cc", 287 "gpu/media/v4l2_image_processor.cc",
286 "gpu/media/v4l2_image_processor.h", 288 "gpu/media/v4l2_image_processor.h",
287 "gpu/media/v4l2_video_decode_accelerator.cc", 289 "gpu/media/v4l2_video_decode_accelerator.cc",
288 "gpu/media/v4l2_video_decode_accelerator.h", 290 "gpu/media/v4l2_video_decode_accelerator.h",
289 "gpu/media/v4l2_video_device.cc", 291 "gpu/media/v4l2_video_device.cc",
290 "gpu/media/v4l2_video_device.h", 292 "gpu/media/v4l2_video_device.h",
291 "gpu/media/v4l2_video_encode_accelerator.cc", 293 "gpu/media/v4l2_video_encode_accelerator.cc",
292 "gpu/media/v4l2_video_encode_accelerator.h", 294 "gpu/media/v4l2_video_encode_accelerator.h",
293 ] 295 ]
294 libs = [ 296 libs = [
295 "EGL", 297 "EGL",
296 "GLESv2", 298 "GLESv2",
297 ] 299 ]
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 }
304 } 300 }
305 if (cpu_arch != "arm") { 301 if (cpu_arch != "arm") {
306 sources += [ 302 sources += [
307 "gpu/media/h264_dpb.cc", 303 "gpu/media/h264_dpb.cc",
308 "gpu/media/h264_dpb.h", 304 "gpu/media/h264_dpb.h",
309 "gpu/media/va_surface.h", 305 "gpu/media/va_surface.h",
310 "gpu/media/vaapi_h264_decoder.cc", 306 "gpu/media/vaapi_h264_decoder.cc",
311 "gpu/media/vaapi_h264_decoder.h", 307 "gpu/media/vaapi_h264_decoder.h",
312 "gpu/media/vaapi_picture.cc", 308 "gpu/media/vaapi_picture.cc",
313 "gpu/media/vaapi_picture.h", 309 "gpu/media/vaapi_picture.h",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 "geolocation_service.mojom", 380 "geolocation_service.mojom",
385 "permission_service.mojom", 381 "permission_service.mojom",
386 "render_frame_setup.mojom", 382 "render_frame_setup.mojom",
387 ] 383 ]
388 384
389 deps = [ 385 deps = [
390 "//content/public/common:mojo_bindings", 386 "//content/public/common:mojo_bindings",
391 "//mojo/public/interfaces/application:application", 387 "//mojo/public/interfaces/application:application",
392 ] 388 ]
393 } 389 }
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/media/gpu_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698