| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 test("media_mojo_unittests") { | 7 source_set("unit_tests") { |
| 8 testonly = true |
| 8 sources = [ | 9 sources = [ |
| 9 "clients/mojo_audio_decoder_unittest.cc", | 10 "clients/mojo_audio_decoder_unittest.cc", |
| 10 "clients/mojo_renderer_unittest.cc", | 11 "clients/mojo_renderer_unittest.cc", |
| 11 "common/media_type_converters_unittest.cc", | 12 "common/media_type_converters_unittest.cc", |
| 12 "common/mojo_decoder_buffer_converter_unittest.cc", | 13 "common/mojo_decoder_buffer_converter_unittest.cc", |
| 13 "common/mojo_shared_buffer_video_frame_unittest.cc", | 14 "common/mojo_shared_buffer_video_frame_unittest.cc", |
| 14 "services/mojo_cdm_allocator_unittest.cc", | 15 "services/mojo_cdm_allocator_unittest.cc", |
| 15 ] | 16 ] |
| 16 | 17 |
| 17 deps = [ | 18 deps = [ |
| 18 "//base", | 19 "//base", |
| 19 "//base/test:test_support", | 20 "//base/test:test_support", |
| 20 "//media", | 21 "//media", |
| 21 "//media:cdm_api", | 22 "//media:cdm_api", |
| 22 "//media/base:test_support", | 23 "//media/base:test_support", |
| 23 "//media/mojo/clients", | 24 "//media/mojo/clients", |
| 24 "//media/mojo/common", | 25 "//media/mojo/common", |
| 25 "//media/mojo/interfaces", | 26 "//media/mojo/interfaces", |
| 26 "//media/mojo/services", | 27 "//media/mojo/services", |
| 27 "//mojo/edk/test:run_all_unittests", | |
| 28 "//testing/gmock", | 28 "//testing/gmock", |
| 29 "//testing/gtest", | 29 "//testing/gtest", |
| 30 "//ui/gfx:test_support", | 30 "//ui/gfx:test_support", |
| 31 ] | 31 ] |
| 32 } | 32 } |
| 33 |
| 34 test("media_mojo_unittests") { |
| 35 deps = [ |
| 36 ":unit_tests", |
| 37 "//mojo/edk/test:run_all_unittests", |
| 38 ] |
| 39 } |
| OLD | NEW |