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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 } | 324 } |
325 | 325 |
326 if (is_win) { | 326 if (is_win) { |
327 sources += [ | 327 sources += [ |
328 "dxva_picture_buffer_win.cc", | 328 "dxva_picture_buffer_win.cc", |
329 "dxva_picture_buffer_win.h", | 329 "dxva_picture_buffer_win.h", |
330 "dxva_video_decode_accelerator_win.cc", | 330 "dxva_video_decode_accelerator_win.cc", |
331 "dxva_video_decode_accelerator_win.h", | 331 "dxva_video_decode_accelerator_win.h", |
332 ] | 332 ] |
333 configs += [ | 333 configs += [ |
334 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
335 "//build/config/compiler:no_size_t_to_int_warning", | 334 "//build/config/compiler:no_size_t_to_int_warning", |
336 "//third_party/khronos:khronos_headers", | 335 "//third_party/khronos:khronos_headers", |
337 ] | 336 ] |
338 public_deps += [ "//media/base/win" ] | |
339 deps += [ "//third_party/angle:includes" ] | 337 deps += [ "//third_party/angle:includes" ] |
340 libs += [ | 338 libs += [ |
341 "d3d9.lib", | 339 "d3d9.lib", |
342 "d3d11.lib", | 340 "d3d11.lib", |
343 "dxva2.lib", | 341 "dxva2.lib", |
344 "strmiids.lib", | 342 "strmiids.lib", |
345 "mf.lib", | 343 "mf.lib", |
346 "mfplat.lib", | 344 "mfplat.lib", |
347 "mfuuid.lib", | 345 "mfuuid.lib", |
348 ] | 346 ] |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 "video_encode_accelerator_unittest.cc", | 446 "video_encode_accelerator_unittest.cc", |
449 ] | 447 ] |
450 if (use_x11) { | 448 if (use_x11) { |
451 deps += [ "//ui/gfx/x" ] | 449 deps += [ "//ui/gfx/x" ] |
452 } | 450 } |
453 if (use_ozone) { | 451 if (use_ozone) { |
454 deps += [ "//ui/ozone" ] | 452 deps += [ "//ui/ozone" ] |
455 } | 453 } |
456 } | 454 } |
457 } | 455 } |
OLD | NEW |