Chromium Code Reviews| 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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 322 sources += [ | 322 sources += [ |
| 323 "dxva_picture_buffer_win.cc", | 323 "dxva_picture_buffer_win.cc", |
| 324 "dxva_picture_buffer_win.h", | 324 "dxva_picture_buffer_win.h", |
| 325 "dxva_video_decode_accelerator_win.cc", | 325 "dxva_video_decode_accelerator_win.cc", |
| 326 "dxva_video_decode_accelerator_win.h", | 326 "dxva_video_decode_accelerator_win.h", |
| 327 ] | 327 ] |
| 328 configs += [ | 328 configs += [ |
| 329 "//build/config/compiler:no_size_t_to_int_warning", | 329 "//build/config/compiler:no_size_t_to_int_warning", |
| 330 "//third_party/khronos:khronos_headers", | 330 "//third_party/khronos:khronos_headers", |
| 331 ] | 331 ] |
| 332 deps += [ "//ui/gl" ] | 332 deps += [ "//third_party/angle:includes" ] |
|
jrummell
2016/05/18 00:03:38
Note that //ui/gl is already in the deps (line 171
| |
| 333 libs += [ | 333 libs += [ |
| 334 "d3d9.lib", | 334 "d3d9.lib", |
| 335 "d3d11.lib", | 335 "d3d11.lib", |
| 336 "dxva2.lib", | 336 "dxva2.lib", |
| 337 "strmiids.lib", | 337 "strmiids.lib", |
| 338 "mf.lib", | 338 "mf.lib", |
| 339 "mfplat.lib", | 339 "mfplat.lib", |
| 340 "mfuuid.lib", | 340 "mfuuid.lib", |
| 341 ] | 341 ] |
| 342 ldflags += [ | 342 ldflags += [ |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 389 "//mojo/public/c/system:for_shared_library", | 389 "//mojo/public/c/system:for_shared_library", |
| 390 "//testing/gmock", | 390 "//testing/gmock", |
| 391 "//ui/android:ui_java", | 391 "//ui/android:ui_java", |
| 392 ] | 392 ] |
| 393 } else { | 393 } else { |
| 394 sources += [ | 394 sources += [ |
| 395 "rendering_helper.cc", | 395 "rendering_helper.cc", |
| 396 "rendering_helper.h", | 396 "rendering_helper.h", |
| 397 "video_decode_accelerator_unittest.cc", | 397 "video_decode_accelerator_unittest.cc", |
| 398 ] | 398 ] |
| 399 deps += [ | |
| 400 "//ui/display", | |
| 401 "//ui/display/types", | |
| 402 "//ui/platform_window", | |
| 403 ] | |
| 404 if (use_ozone) { | |
| 405 deps += [ "//ui/ozone" ] | |
| 406 } | |
| 399 } | 407 } |
| 400 | 408 |
| 401 if (is_win) { | 409 if (is_win) { |
| 402 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 410 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 403 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 411 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 404 deps += [ | 412 deps += [ |
| 405 "//third_party/angle:libEGL", | 413 "//third_party/angle:libEGL", |
| 406 "//third_party/angle:libGLESv2", | 414 "//third_party/angle:libGLESv2", |
| 407 ] | 415 ] |
| 408 } | 416 } |
| 409 | 417 |
| 410 if (is_chromeos && use_ozone) { | |
| 411 deps += [ | |
| 412 "//ui/display", # Used by rendering_helper.cc | |
| 413 "//ui/ozone", # Used by rendering_helper.cc | |
| 414 ] | |
| 415 } | |
| 416 if (use_x11) { | 418 if (use_x11) { |
| 417 configs += [ "//build/config/linux:x11" ] | 419 configs += [ "//build/config/linux:x11" ] |
| 418 deps += [ "//ui/gfx/x" ] | 420 deps += [ "//ui/gfx/x" ] |
| 419 } | 421 } |
| 420 } | 422 } |
| 421 } | 423 } |
| 422 | 424 |
| 423 if (is_chromeos || is_mac) { | 425 if (is_chromeos || is_mac) { |
| 424 test("video_encode_accelerator_unittest") { | 426 test("video_encode_accelerator_unittest") { |
| 425 deps = [ | 427 deps = [ |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 444 "video_encode_accelerator_unittest.cc", | 446 "video_encode_accelerator_unittest.cc", |
| 445 ] | 447 ] |
| 446 if (use_x11) { | 448 if (use_x11) { |
| 447 deps += [ "//ui/gfx/x" ] | 449 deps += [ "//ui/gfx/x" ] |
| 448 } | 450 } |
| 449 if (use_ozone) { | 451 if (use_ozone) { |
| 450 deps += [ "//ui/ozone" ] | 452 deps += [ "//ui/ozone" ] |
| 451 } | 453 } |
| 452 } | 454 } |
| 453 } | 455 } |
| OLD | NEW |