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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 516 ] | 516 ] |
| 517 if (use_x11) { | 517 if (use_x11) { |
| 518 deps += [ "//ui/gfx/x" ] | 518 deps += [ "//ui/gfx/x" ] |
| 519 } | 519 } |
| 520 if (use_ozone) { | 520 if (use_ozone) { |
| 521 deps += [ "//ui/ozone" ] | 521 deps += [ "//ui/ozone" ] |
| 522 } | 522 } |
| 523 } | 523 } |
| 524 } | 524 } |
| 525 | 525 |
| 526 if (is_chromeos || is_win) { | |
|
kcwu
2017/03/17 06:47:43
Is it possible to make the test run on all platfor
Owen Lin
2017/03/20 08:00:04
Done.
| |
| 527 test("media_gpu_unittest") { | |
| 528 deps = [ | |
| 529 "//base", | |
| 530 "//media/base:test_support", | |
| 531 "//media/gpu", | |
| 532 "//testing/gtest", | |
| 533 ] | |
| 534 sources = [ | |
| 535 "h264_decoder_unittest.cc", | |
| 536 ] | |
| 537 } | |
| 538 } | |
| 539 | |
| 526 test("video_decode_accelerator_service_unittest") { | 540 test("video_decode_accelerator_service_unittest") { |
| 527 sources = [ | 541 sources = [ |
| 528 "ipc/service/gpu_jpeg_decode_accelerator_unittest.cc", | 542 "ipc/service/gpu_jpeg_decode_accelerator_unittest.cc", |
| 529 ] | 543 ] |
| 530 | 544 |
| 531 deps = [ | 545 deps = [ |
| 532 ":gpu", | 546 ":gpu", |
| 533 "//base", | 547 "//base", |
| 534 "//base/test:run_all_unittests", | 548 "//base/test:run_all_unittests", |
| 535 "//base/test:test_support", | 549 "//base/test:test_support", |
| 536 "//gpu:test_support", | 550 "//gpu:test_support", |
| 537 "//media/gpu/ipc/common", | 551 "//media/gpu/ipc/common", |
| 538 "//media/gpu/ipc/service", | 552 "//media/gpu/ipc/service", |
| 539 "//testing/gmock", | 553 "//testing/gmock", |
| 540 "//testing/gtest", | 554 "//testing/gtest", |
| 541 "//ui/gfx:test_support", | 555 "//ui/gfx:test_support", |
| 542 "//ui/gfx/geometry", | 556 "//ui/gfx/geometry", |
| 543 ] | 557 ] |
| 544 } | 558 } |
| OLD | NEW |