Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: content/renderer/BUILD.gn

Issue 1836073003: media: Use "public_configs" for "mojo_media_config" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | media/mojo/services/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//content/renderer/renderer.gni") 7 import("//content/renderer/renderer.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 9
10 source_set("renderer") { 10 source_set("renderer") {
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 } 223 }
224 224
225 if (enable_mojo_media) { 225 if (enable_mojo_media) {
226 sources += [ 226 sources += [
227 "media/media_interface_provider.cc", 227 "media/media_interface_provider.cc",
228 "media/media_interface_provider.h", 228 "media/media_interface_provider.h",
229 ] 229 ]
230 230
231 deps += [ 231 deps += [
232 "//media/mojo/interfaces", 232 "//media/mojo/interfaces",
233
234 # Defines in mojo_media_config are also pulled in here.
233 "//media/mojo/services:proxy", 235 "//media/mojo/services:proxy",
234 ] 236 ]
235 } 237 }
236 238
237 if (enable_webvr) { 239 if (enable_webvr) {
238 sources += [ 240 sources += [
239 "vr/vr_dispatcher.cc", 241 "vr/vr_dispatcher.cc",
240 "vr/vr_dispatcher.h", 242 "vr/vr_dispatcher.h",
241 "vr/vr_type_converters.cc", 243 "vr/vr_type_converters.cc",
242 "vr/vr_type_converters.h", 244 "vr/vr_type_converters.h",
243 ] 245 ]
244 } 246 }
245 247
246 if (use_seccomp_bpf) { 248 if (use_seccomp_bpf) {
247 defines += [ "USE_SECCOMP_BPF" ] 249 defines += [ "USE_SECCOMP_BPF" ]
248 } 250 }
249 251
250 if (use_ozone) { 252 if (use_ozone) {
251 deps += [ "//ui/ozone" ] 253 deps += [ "//ui/ozone" ]
252 } 254 }
253 } 255 }
254 256
255 # See comment at the top of //content/BUILD.gn for how this works. 257 # See comment at the top of //content/BUILD.gn for how this works.
256 group("for_content_tests") { 258 group("for_content_tests") {
257 visibility = [ "//content/test/*" ] 259 visibility = [ "//content/test/*" ]
260
261 if (enable_mojo_media) {
262 # For the defines in mojo_media_config.
263 public_configs = [ "//media/mojo/services:mojo_media_config" ]
264 }
265
258 if (!is_component_build) { 266 if (!is_component_build) {
259 public_deps = [ 267 public_deps = [
260 ":renderer", 268 ":renderer",
261 ] 269 ]
262 } 270 }
263 } 271 }
OLDNEW
« no previous file with comments | « no previous file | media/mojo/services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698