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("//media/media_options.gni") | 5 import("//media/media_options.gni") |
6 import("//services/catalog/public/tools/catalog.gni") | 6 import("//services/catalog/public/tools/catalog.gni") |
7 import("//services/service_manager/public/cpp/service.gni") | 7 import("//services/service_manager/public/cpp/service.gni") |
8 import("//services/service_manager/public/service_manifest.gni") | 8 import("//services/service_manager/public/service_manifest.gni") |
9 import("//services/service_manager/public/tools/test/service_test.gni") | 9 import("//services/service_manager/public/tools/test/service_test.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
131 sources += [ | 131 sources += [ |
132 "android_mojo_media_client.cc", | 132 "android_mojo_media_client.cc", |
133 "android_mojo_media_client.h", | 133 "android_mojo_media_client.h", |
134 ] | 134 ] |
135 } | 135 } |
136 } | 136 } |
137 | 137 |
138 service("media") { | 138 service("media") { |
139 testonly = true | 139 testonly = true |
140 | 140 |
141 # crbug.com/676418: Suppress symbol import warnings. | 141 # As long as //media/mojo/services:lib is a source_set, this needs to be |
142 if (is_win && is_component_build) { | 142 # set as the source will be bundled with this service code. |
xhwang
2017/03/08 00:35:18
Could you please provide a few more details, e.g.
| |
143 ldflags = [ "/ignore:4217" ] | 143 # http://crbug.com/670094 |
144 } | 144 defines = [ "MEDIA_MOJO_IMPLEMENTATION" ] |
145 | 145 |
146 sources = [ | 146 sources = [ |
147 "main.cc", | 147 "main.cc", |
148 ] | 148 ] |
149 | 149 |
150 public_deps = [ | 150 public_deps = [ |
151 "//base", | 151 "//base", |
152 "//media", | 152 "//media", |
153 ] | 153 ] |
154 | 154 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
221 | 221 |
222 catalog("media_service_unittests_catalog") { | 222 catalog("media_service_unittests_catalog") { |
223 embedded_services = [ ":test_manifest" ] | 223 embedded_services = [ ":test_manifest" ] |
224 standalone_services = [ ":media_manifest" ] | 224 standalone_services = [ ":media_manifest" ] |
225 } | 225 } |
226 | 226 |
227 catalog("media_pipeline_integration_unittests_catalog") { | 227 catalog("media_pipeline_integration_unittests_catalog") { |
228 embedded_services = [ ":pipeline_test_manifest" ] | 228 embedded_services = [ ":pipeline_test_manifest" ] |
229 standalone_services = [ ":media_manifest" ] | 229 standalone_services = [ ":media_manifest" ] |
230 } | 230 } |
OLD | NEW |