OLD | NEW |
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 Loading... |
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 ] | 427 ] |
433 } | 428 } |
434 | 429 |
435 if (use_x11) { | 430 if (use_x11) { |
436 configs += [ "//build/config/linux:x11" ] | 431 configs += [ "//build/config/linux:x11" ] |
437 deps += [ "//ui/gfx/x" ] | 432 deps += [ "//ui/gfx/x" ] |
438 } | 433 } |
439 } | 434 } |
440 } | 435 } |
441 | 436 |
442 if (is_chromeos || is_mac || is_win) { | 437 if (is_chromeos || is_mac) { |
443 test("video_encode_accelerator_unittest") { | 438 test("video_encode_accelerator_unittest") { |
444 deps = [ | 439 deps = [ |
445 "//base", | 440 "//base", |
446 "//media", | 441 "//media", |
447 "//media/base:test_support", | 442 "//media/base:test_support", |
448 "//media/gpu", | 443 "//media/gpu", |
449 "//testing/gtest", | 444 "//testing/gtest", |
450 "//ui/base", | 445 "//ui/base", |
451 "//ui/gfx", | 446 "//ui/gfx", |
452 "//ui/gfx:test_support", | 447 "//ui/gfx:test_support", |
(...skipping 11 matching lines...) Expand all Loading... |
464 "video_encode_accelerator_unittest.cc", | 459 "video_encode_accelerator_unittest.cc", |
465 ] | 460 ] |
466 if (use_x11) { | 461 if (use_x11) { |
467 deps += [ "//ui/gfx/x" ] | 462 deps += [ "//ui/gfx/x" ] |
468 } | 463 } |
469 if (use_ozone) { | 464 if (use_ozone) { |
470 deps += [ "//ui/ozone" ] | 465 deps += [ "//ui/ozone" ] |
471 } | 466 } |
472 } | 467 } |
473 } | 468 } |
OLD | NEW |