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

Side by Side Diff: media/gpu/BUILD.gn

Issue 2172703002: Revert of H264 HW encode using MediaFoundation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « media/base/win/mf_helpers.cc ('k') | media/gpu/dxva_video_decode_accelerator_win.cc » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//media/gpu/args.gni") 7 import("//media/gpu/args.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 10
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 } 330 }
331 } 331 }
332 } 332 }
333 333
334 if (is_win) { 334 if (is_win) {
335 sources += [ 335 sources += [
336 "dxva_picture_buffer_win.cc", 336 "dxva_picture_buffer_win.cc",
337 "dxva_picture_buffer_win.h", 337 "dxva_picture_buffer_win.h",
338 "dxva_video_decode_accelerator_win.cc", 338 "dxva_video_decode_accelerator_win.cc",
339 "dxva_video_decode_accelerator_win.h", 339 "dxva_video_decode_accelerator_win.h",
340 "media_foundation_video_encode_accelerator_win.cc",
341 "media_foundation_video_encode_accelerator_win.h",
342 ] 340 ]
343 configs += [ 341 configs += [
344 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 342 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
345 "//build/config/compiler:no_size_t_to_int_warning", 343 "//build/config/compiler:no_size_t_to_int_warning",
346 "//third_party/khronos:khronos_headers", 344 "//third_party/khronos:khronos_headers",
347 ] 345 ]
348 public_deps += [ "//media/base/win" ] 346 public_deps += [ "//media/base/win" ]
349 deps += [ 347 deps += [ "//third_party/angle:includes" ]
350 "//third_party/angle:includes",
351 "//third_party/libyuv",
352 ]
353 libs += [ 348 libs += [
354 "d3d9.lib", 349 "d3d9.lib",
355 "d3d11.lib", 350 "d3d11.lib",
356 "dxva2.lib", 351 "dxva2.lib",
357 "strmiids.lib", 352 "strmiids.lib",
358 "mf.lib", 353 "mf.lib",
359 "mfplat.lib", 354 "mfplat.lib",
360 "mfuuid.lib", 355 "mfuuid.lib",
361 ] 356 ]
362 ldflags += [ 357 ldflags += [
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 ] 425 ]
431 } 426 }
432 427
433 if (use_x11) { 428 if (use_x11) {
434 configs += [ "//build/config/linux:x11" ] 429 configs += [ "//build/config/linux:x11" ]
435 deps += [ "//ui/gfx/x" ] 430 deps += [ "//ui/gfx/x" ]
436 } 431 }
437 } 432 }
438 } 433 }
439 434
440 if (is_chromeos || is_mac || is_win) { 435 if (is_chromeos || is_mac) {
441 test("video_encode_accelerator_unittest") { 436 test("video_encode_accelerator_unittest") {
442 deps = [ 437 deps = [
443 "//base", 438 "//base",
444 "//media", 439 "//media",
445 "//media/base:test_support", 440 "//media/base:test_support",
446 "//media/gpu", 441 "//media/gpu",
447 "//testing/gtest", 442 "//testing/gtest",
448 "//ui/base", 443 "//ui/base",
449 "//ui/gfx", 444 "//ui/gfx",
450 "//ui/gfx:test_support", 445 "//ui/gfx:test_support",
(...skipping 10 matching lines...) Expand all
461 "video_encode_accelerator_unittest.cc", 456 "video_encode_accelerator_unittest.cc",
462 ] 457 ]
463 if (use_x11) { 458 if (use_x11) {
464 deps += [ "//ui/gfx/x" ] 459 deps += [ "//ui/gfx/x" ]
465 } 460 }
466 if (use_ozone) { 461 if (use_ozone) {
467 deps += [ "//ui/ozone" ] 462 deps += [ "//ui/ozone" ]
468 } 463 }
469 } 464 }
470 } 465 }
OLDNEW
« no previous file with comments | « media/base/win/mf_helpers.cc ('k') | media/gpu/dxva_video_decode_accelerator_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698