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", |
(...skipping 17 matching lines...) Expand all Loading... |
28 "//media/mojo/interfaces", | 28 "//media/mojo/interfaces", |
29 "//media/mojo/services:lib", | 29 "//media/mojo/services:lib", |
30 "//services/service_manager/tests:interfaces", | 30 "//services/service_manager/tests:interfaces", |
31 "//testing/gmock", | 31 "//testing/gmock", |
32 "//testing/gtest", | 32 "//testing/gtest", |
33 "//ui/gfx:test_support", | 33 "//ui/gfx:test_support", |
34 ] | 34 ] |
35 } | 35 } |
36 | 36 |
37 test("media_mojo_unittests") { | 37 test("media_mojo_unittests") { |
| 38 # crbug.com/676418: Suppress symbol import warnings. |
| 39 if (is_win && is_component_build) { |
| 40 ldflags = [ |
| 41 "/ignore:4217", |
| 42 "/ignore:4049", |
| 43 ] |
| 44 } |
| 45 |
38 deps = [ | 46 deps = [ |
39 ":unit_tests", | 47 ":unit_tests", |
40 "//mojo/edk/test:run_all_unittests", | 48 "//mojo/edk/test:run_all_unittests", |
41 ] | 49 ] |
42 } | 50 } |
OLD | NEW |