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

Side by Side Diff: chromecast/browser/BUILD.gn

Issue 1649933002: [Chromecast] Hook up mojo media pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed link error for enable_mojo_media=utility config Created 4 years, 10 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//chromecast/chromecast.gni") 5 import("//chromecast/chromecast.gni")
6 import("//media/media_options.gni")
7 import("//testing/test.gni") 6 import("//testing/test.gni")
8 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
9 8
10 source_set("browser") { 9 source_set("browser") {
11 sources = [ 10 sources = [
12 "cast_browser_context.cc", 11 "cast_browser_context.cc",
13 "cast_browser_context.h", 12 "cast_browser_context.h",
14 "cast_browser_main_parts.cc", 13 "cast_browser_main_parts.cc",
15 "cast_browser_main_parts.h", 14 "cast_browser_main_parts.h",
16 "cast_browser_process.cc", 15 "cast_browser_process.cc",
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 public_deps = [ 110 public_deps = [
112 "//chromecast/browser/media", 111 "//chromecast/browser/media",
113 ] 112 ]
114 113
115 deps += [ 114 deps += [
116 "//build/linux:fontconfig", 115 "//build/linux:fontconfig",
117 "//components/metrics:serialization", 116 "//components/metrics:serialization",
118 ] 117 ]
119 } 118 }
120 119
121 if (enable_mojo_media != "none") {
122 configs += [ "//media/mojo/services:enable_mojo_media_config" ]
123 }
124
125 if (enable_mojo_media == "utility") {
126 deps += [ "//media/mojo/services:application" ]
127 }
128
129 if (use_ozone) { 120 if (use_ozone) {
130 deps += [ "//ui/ozone" ] 121 deps += [ "//ui/ozone" ]
131 } 122 }
132 } 123 }
133 124
134 source_set("test_support") { 125 source_set("test_support") {
135 testonly = true 126 testonly = true
136 127
137 sources = [ 128 sources = [
138 "test/chromecast_browser_test.cc", 129 "test/chromecast_browser_test.cc",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 if (chromecast_branding != "public") { 171 if (chromecast_branding != "public") {
181 deps += [ "//chromecast/internal:cast_shell_internal" ] 172 deps += [ "//chromecast/internal:cast_shell_internal" ]
182 } 173 }
183 174
184 if (chromecast_branding == "public") { 175 if (chromecast_branding == "public") {
185 # Link default libcast_media_1.0 statically not to link dummy one 176 # Link default libcast_media_1.0 statically not to link dummy one
186 # dynamically for public unittests. 177 # dynamically for public unittests.
187 deps += [ "//chromecast/media/base:libcast_media_1.0_default_core" ] 178 deps += [ "//chromecast/media/base:libcast_media_1.0_default_core" ]
188 } 179 }
189 } 180 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698