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