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

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

Issue 1425113003: media: Register MojoMediaApplication to run in Utility process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 source_set("browser") { 8 source_set("browser") {
9 sources = [ 9 sources = [
10 "cast_browser_context.cc", 10 "cast_browser_context.cc",
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 "metrics/external_metrics.cc", 104 "metrics/external_metrics.cc",
105 "metrics/external_metrics.h", 105 "metrics/external_metrics.h",
106 ] 106 ]
107 107
108 public_deps = [ 108 public_deps = [
109 "//chromecast/browser/media", 109 "//chromecast/browser/media",
110 ] 110 ]
111 111
112 deps += [ "//components/metrics:serialization" ] 112 deps += [ "//components/metrics:serialization" ]
113 } 113 }
114
115 if (enable_mojo_media != "none") {
116 configs += [ "//media/mojo/services:enable_mojo_media_config" ]
117 }
118
119 if (enable_mojo_media == "utility") {
120 deps += [ "//media/mojo/services:application" ]
121 }
114 } 122 }
115 123
116 source_set("test_support") { 124 source_set("test_support") {
117 testonly = true 125 testonly = true
118 126
119 sources = [ 127 sources = [
120 "test/chromecast_browser_test.cc", 128 "test/chromecast_browser_test.cc",
121 "test/chromecast_browser_test.h", 129 "test/chromecast_browser_test.h",
122 "test/chromecast_browser_test_runner.cc", 130 "test/chromecast_browser_test_runner.cc",
123 ] 131 ]
(...skipping 30 matching lines...) Expand all
154 "//base", 162 "//base",
155 "//testing/gtest", 163 "//testing/gtest",
156 "//url", 164 "//url",
157 ] 165 ]
158 166
159 # TODO(slan): Find a better way to do this. 167 # TODO(slan): Find a better way to do this.
160 if (chromecast_branding != "public") { 168 if (chromecast_branding != "public") {
161 deps += [ "//chromecast/internal:cast_shell_internal" ] 169 deps += [ "//chromecast/internal:cast_shell_internal" ]
162 } 170 }
163 } 171 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698