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