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