| 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("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//media/media_options.gni") | 6 import("//media/media_options.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 buildflag_header("features") { | 9 buildflag_header("features") { |
| 10 header = "features.h" | 10 header = "features.h" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 "//base", | 90 "//base", |
| 91 "//base/test:test_support", | 91 "//base/test:test_support", |
| 92 "//media", | 92 "//media", |
| 93 "//media/base:test_support", | 93 "//media/base:test_support", |
| 94 "//media/cdm:cdm_api", | 94 "//media/cdm:cdm_api", |
| 95 "//media/mojo/clients", | 95 "//media/mojo/clients", |
| 96 "//media/mojo/common", | 96 "//media/mojo/common", |
| 97 "//media/mojo/common:mojo_shared_buffer_video_frame", | 97 "//media/mojo/common:mojo_shared_buffer_video_frame", |
| 98 "//media/mojo/interfaces", | 98 "//media/mojo/interfaces", |
| 99 "//media/mojo/interfaces:test_interfaces", | 99 "//media/mojo/interfaces:test_interfaces", |
| 100 "//media/mojo/services:lib", | 100 "//media/mojo/services", |
| 101 "//services/service_manager/tests:interfaces", | 101 "//services/service_manager/tests:interfaces", |
| 102 "//testing/gmock", | 102 "//testing/gmock", |
| 103 "//testing/gtest", | 103 "//testing/gtest", |
| 104 "//ui/gfx:test_support", | 104 "//ui/gfx:test_support", |
| 105 ] | 105 ] |
| 106 | 106 |
| 107 if (is_android) { | 107 if (is_android) { |
| 108 deps += [ | 108 deps += [ |
| 109 "//gpu/ipc/common:common", | 109 "//gpu/ipc/common:common", |
| 110 "//ui/gl:gl", | 110 "//ui/gl:gl", |
| 111 ] | 111 ] |
| 112 } | 112 } |
| 113 } | 113 } |
| 114 | 114 |
| 115 test("media_mojo_unittests") { | 115 test("media_mojo_unittests") { |
| 116 # crbug.com/676418: Suppress symbol import warnings. | |
| 117 if (is_win && is_component_build) { | |
| 118 ldflags = [ | |
| 119 "/ignore:4217", | |
| 120 "/ignore:4049", | |
| 121 ] | |
| 122 } | |
| 123 | |
| 124 deps = [ | 116 deps = [ |
| 125 ":unit_tests", | 117 ":unit_tests", |
| 126 "//mojo/edk/test:run_all_unittests", | 118 "//mojo/edk/test:run_all_unittests", |
| 127 ] | 119 ] |
| 128 } | 120 } |
| OLD | NEW |