| 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 19 matching lines...) Expand all Loading... |
| 30 "//media/base:test_support", | 30 "//media/base:test_support", |
| 31 "//media/mojo/clients", | 31 "//media/mojo/clients", |
| 32 "//media/mojo/common", | 32 "//media/mojo/common", |
| 33 "//media/mojo/interfaces", | 33 "//media/mojo/interfaces", |
| 34 "//media/mojo/services:lib", | 34 "//media/mojo/services:lib", |
| 35 "//services/service_manager/tests:interfaces", | 35 "//services/service_manager/tests:interfaces", |
| 36 "//testing/gmock", | 36 "//testing/gmock", |
| 37 "//testing/gtest", | 37 "//testing/gtest", |
| 38 "//ui/gfx:test_support", | 38 "//ui/gfx:test_support", |
| 39 ] | 39 ] |
| 40 |
| 41 if (is_android) { |
| 42 deps += [ |
| 43 "//gpu/ipc/common:common", |
| 44 "//ui/gl:gl", |
| 45 ] |
| 46 } |
| 40 } | 47 } |
| 41 | 48 |
| 42 test("media_mojo_unittests") { | 49 test("media_mojo_unittests") { |
| 43 # crbug.com/676418: Suppress symbol import warnings. | 50 # crbug.com/676418: Suppress symbol import warnings. |
| 44 if (is_win && is_component_build) { | 51 if (is_win && is_component_build) { |
| 45 ldflags = [ | 52 ldflags = [ |
| 46 "/ignore:4217", | 53 "/ignore:4217", |
| 47 "/ignore:4049", | 54 "/ignore:4049", |
| 48 ] | 55 ] |
| 49 } | 56 } |
| 50 | 57 |
| 51 deps = [ | 58 deps = [ |
| 52 ":unit_tests", | 59 ":unit_tests", |
| 53 "//mojo/edk/test:run_all_unittests", | 60 "//mojo/edk/test:run_all_unittests", |
| 54 ] | 61 ] |
| 55 } | 62 } |
| OLD | NEW |