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_cdm_unittest.cc", | 11 "clients/mojo_cdm_unittest.cc", |
12 "clients/mojo_renderer_unittest.cc", | 12 "clients/mojo_renderer_unittest.cc", |
13 "common/media_type_converters_unittest.cc", | 13 "common/media_type_converters_unittest.cc", |
14 "common/mojo_decoder_buffer_converter_unittest.cc", | 14 "common/mojo_decoder_buffer_converter_unittest.cc", |
15 "common/mojo_shared_buffer_video_frame_unittest.cc", | 15 "common/mojo_shared_buffer_video_frame_unittest.cc", |
16 "services/mojo_cdm_allocator_unittest.cc", | 16 "services/mojo_cdm_allocator_unittest.cc", |
17 "services/strong_binding_set_unittest.cc", | 17 "services/strong_binding_set_unittest.cc", |
18 ] | 18 ] |
19 | 19 |
| 20 if (is_android) { |
| 21 sources += [ "clients/mojo_android_overlay_unittest.cc" ] |
| 22 } |
| 23 |
20 deps = [ | 24 deps = [ |
21 "//base", | 25 "//base", |
22 "//base/test:test_support", | 26 "//base/test:test_support", |
23 "//media", | 27 "//media", |
24 "//media:cdm_api", | 28 "//media:cdm_api", |
25 "//media/base:test_support", | 29 "//media/base:test_support", |
26 "//media/mojo/clients", | 30 "//media/mojo/clients", |
27 "//media/mojo/common", | 31 "//media/mojo/common", |
28 "//media/mojo/interfaces", | 32 "//media/mojo/interfaces", |
29 "//media/mojo/services:lib", | 33 "//media/mojo/services:lib", |
(...skipping 11 matching lines...) Expand all Loading... |
41 "/ignore:4217", | 45 "/ignore:4217", |
42 "/ignore:4049", | 46 "/ignore:4049", |
43 ] | 47 ] |
44 } | 48 } |
45 | 49 |
46 deps = [ | 50 deps = [ |
47 ":unit_tests", | 51 ":unit_tests", |
48 "//mojo/edk/test:run_all_unittests", | 52 "//mojo/edk/test:run_all_unittests", |
49 ] | 53 ] |
50 } | 54 } |
OLD | NEW |