| 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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 "video_encode_accelerator_unittest.cc", | 464 "video_encode_accelerator_unittest.cc", |
| 465 ] | 465 ] |
| 466 if (use_x11) { | 466 if (use_x11) { |
| 467 deps += [ "//ui/gfx/x" ] | 467 deps += [ "//ui/gfx/x" ] |
| 468 } | 468 } |
| 469 if (use_ozone) { | 469 if (use_ozone) { |
| 470 deps += [ "//ui/ozone" ] | 470 deps += [ "//ui/ozone" ] |
| 471 } | 471 } |
| 472 } | 472 } |
| 473 } | 473 } |
| 474 |
| 475 if (is_chromeos) { |
| 476 test("jpeg_decode_accelerator_unittest") { |
| 477 deps = [ |
| 478 "//base", |
| 479 "//media", |
| 480 "//media/base:test_support", |
| 481 "//media/gpu", |
| 482 "//testing/gtest", |
| 483 "//third_party/libyuv", |
| 484 "//ui/base", |
| 485 "//ui/gfx", |
| 486 "//ui/gfx:test_support", |
| 487 "//ui/gfx/geometry", |
| 488 "//ui/gl", |
| 489 "//ui/gl:test_support", |
| 490 ] |
| 491 configs += [ |
| 492 "//third_party/libva:libva_config", |
| 493 "//third_party/libyuv:libyuv_config", |
| 494 ":gpu_config", |
| 495 ] |
| 496 sources = [ |
| 497 "jpeg_decode_accelerator_unittest.cc", |
| 498 "video_accelerator_unittest_helpers.h", |
| 499 ] |
| 500 if (use_x11) { |
| 501 deps += [ "//ui/gfx/x" ] |
| 502 } |
| 503 if (use_ozone) { |
| 504 deps += [ "//ui/ozone" ] |
| 505 } |
| 506 } |
| 507 } |
| OLD | NEW |