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

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

Issue 922003002: Support H.264 video decoding on Windows 8+ using DX11 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a CHECK to catch GetData failures Created 5 years, 9 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/dxva_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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
9 9
10 if (is_chromeos && current_cpu != "arm") { 10 if (is_chromeos && current_cpu != "arm") {
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 403
404 if (is_win) { 404 if (is_win) {
405 sources += [ 405 sources += [
406 "gpu/media/dxva_video_decode_accelerator.cc", 406 "gpu/media/dxva_video_decode_accelerator.cc",
407 "gpu/media/dxva_video_decode_accelerator.h", 407 "gpu/media/dxva_video_decode_accelerator.h",
408 ] 408 ]
409 include_dirs += [ "//third_party/khronos" ] 409 include_dirs += [ "//third_party/khronos" ]
410 deps += [ "//ui/gl" ] 410 deps += [ "//ui/gl" ]
411 libs += [ 411 libs += [
412 "d3d9.lib", 412 "d3d9.lib",
413 "d3d11.lib",
413 "dxva2.lib", 414 "dxva2.lib",
414 "strmiids.lib", 415 "strmiids.lib",
415 "mf.lib", 416 "mf.lib",
416 "mfplat.lib", 417 "mfplat.lib",
417 "mfuuid.lib", 418 "mfuuid.lib",
418 ] 419 ]
419 ldflags += [ 420 ldflags += [
420 "/DELAYLOAD:d3d9.dll", 421 "/DELAYLOAD:d3d9.dll",
422 "/DELAYLOAD:d3d11.dll",
421 "/DELAYLOAD:dxva2.dll", 423 "/DELAYLOAD:dxva2.dll",
422 "/DELAYLOAD:mf.dll", 424 "/DELAYLOAD:mf.dll",
423 "/DELAYLOAD:mfplat.dll", 425 "/DELAYLOAD:mfplat.dll",
424 ] 426 ]
425 427
426 # TODO(GYP): extract_xinput action. 428 # TODO(GYP): extract_xinput action.
427 } 429 }
428 430
429 if (!is_win || !use_aura) { 431 if (!is_win || !use_aura) {
430 sources -= [ "cursors/webcursor_aurawin.cc" ] 432 sources -= [ "cursors/webcursor_aurawin.cc" ]
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 "permission_service.mojom", 472 "permission_service.mojom",
471 "presentation/presentation_service.mojom", 473 "presentation/presentation_service.mojom",
472 "render_frame_setup.mojom", 474 "render_frame_setup.mojom",
473 ] 475 ]
474 476
475 deps = [ 477 deps = [
476 "//content/public/common:mojo_bindings", 478 "//content/public/common:mojo_bindings",
477 "//third_party/mojo/src/mojo/public/interfaces/application:application", 479 "//third_party/mojo/src/mojo/public/interfaces/application:application",
478 ] 480 ]
479 } 481 }
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/media/dxva_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698