| 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", |
| 340 ] | 342 ] |
| 341 configs += [ | 343 configs += [ |
| 342 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 344 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 343 "//build/config/compiler:no_size_t_to_int_warning", | 345 "//build/config/compiler:no_size_t_to_int_warning", |
| 344 "//third_party/khronos:khronos_headers", | 346 "//third_party/khronos:khronos_headers", |
| 345 ] | 347 ] |
| 346 public_deps += [ "//media/base/win" ] | 348 public_deps += [ "//media/base/win" ] |
| 347 deps += [ "//third_party/angle:includes" ] | 349 deps += [ |
| 350 "//third_party/angle:includes", |
| 351 "//third_party/libyuv", |
| 352 ] |
| 348 libs += [ | 353 libs += [ |
| 349 "d3d9.lib", | 354 "d3d9.lib", |
| 350 "d3d11.lib", | 355 "d3d11.lib", |
| 351 "dxva2.lib", | 356 "dxva2.lib", |
| 352 "strmiids.lib", | 357 "strmiids.lib", |
| 353 "mf.lib", | 358 "mf.lib", |
| 354 "mfplat.lib", | 359 "mfplat.lib", |
| 355 "mfuuid.lib", | 360 "mfuuid.lib", |
| 356 ] | 361 ] |
| 357 ldflags += [ | 362 ldflags += [ |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 ] | 430 ] |
| 426 } | 431 } |
| 427 | 432 |
| 428 if (use_x11) { | 433 if (use_x11) { |
| 429 configs += [ "//build/config/linux:x11" ] | 434 configs += [ "//build/config/linux:x11" ] |
| 430 deps += [ "//ui/gfx/x" ] | 435 deps += [ "//ui/gfx/x" ] |
| 431 } | 436 } |
| 432 } | 437 } |
| 433 } | 438 } |
| 434 | 439 |
| 435 if (is_chromeos || is_mac) { | 440 if (is_chromeos || is_mac || is_win) { |
| 436 test("video_encode_accelerator_unittest") { | 441 test("video_encode_accelerator_unittest") { |
| 437 deps = [ | 442 deps = [ |
| 438 "//base", | 443 "//base", |
| 439 "//media", | 444 "//media", |
| 440 "//media/base:test_support", | 445 "//media/base:test_support", |
| 441 "//media/gpu", | 446 "//media/gpu", |
| 442 "//testing/gtest", | 447 "//testing/gtest", |
| 443 "//ui/base", | 448 "//ui/base", |
| 444 "//ui/gfx", | 449 "//ui/gfx", |
| 445 "//ui/gfx:test_support", | 450 "//ui/gfx:test_support", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 456 "video_encode_accelerator_unittest.cc", | 461 "video_encode_accelerator_unittest.cc", |
| 457 ] | 462 ] |
| 458 if (use_x11) { | 463 if (use_x11) { |
| 459 deps += [ "//ui/gfx/x" ] | 464 deps += [ "//ui/gfx/x" ] |
| 460 } | 465 } |
| 461 if (use_ozone) { | 466 if (use_ozone) { |
| 462 deps += [ "//ui/ozone" ] | 467 deps += [ "//ui/ozone" ] |
| 463 } | 468 } |
| 464 } | 469 } |
| 465 } | 470 } |
| OLD | NEW |