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

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: comments addressed 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("//media/media_options.gni")
6 import("//testing/test.gni") 7 import("//testing/test.gni")
7 8
8 source_set("browser") { 9 source_set("browser") {
9 sources = [ 10 sources = [
10 "cast_browser_context.cc", 11 "cast_browser_context.cc",
11 "cast_browser_context.h", 12 "cast_browser_context.h",
12 "cast_browser_main_parts.cc", 13 "cast_browser_main_parts.cc",
13 "cast_browser_main_parts.h", 14 "cast_browser_main_parts.h",
14 "cast_browser_process.cc", 15 "cast_browser_process.cc",
15 "cast_browser_process.h", 16 "cast_browser_process.h",
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 "metrics/external_metrics.cc", 105 "metrics/external_metrics.cc",
105 "metrics/external_metrics.h", 106 "metrics/external_metrics.h",
106 ] 107 ]
107 108
108 public_deps = [ 109 public_deps = [
109 "//chromecast/browser/media", 110 "//chromecast/browser/media",
110 ] 111 ]
111 112
112 deps += [ "//components/metrics:serialization" ] 113 deps += [ "//components/metrics:serialization" ]
113 } 114 }
115
116 if (enable_mojo_media != "none") {
117 configs += [ "//media/mojo/services:enable_mojo_media_config" ]
118 }
119
120 if (enable_mojo_media == "utility") {
121 deps += [ "//media/mojo/services:application" ]
122 }
114 } 123 }
115 124
116 source_set("test_support") { 125 source_set("test_support") {
117 testonly = true 126 testonly = true
118 127
119 sources = [ 128 sources = [
120 "test/chromecast_browser_test.cc", 129 "test/chromecast_browser_test.cc",
121 "test/chromecast_browser_test.h", 130 "test/chromecast_browser_test.h",
122 "test/chromecast_browser_test_runner.cc", 131 "test/chromecast_browser_test_runner.cc",
123 ] 132 ]
(...skipping 30 matching lines...) Expand all
154 "//base", 163 "//base",
155 "//testing/gtest", 164 "//testing/gtest",
156 "//url", 165 "//url",
157 ] 166 ]
158 167
159 # TODO(slan): Find a better way to do this. 168 # TODO(slan): Find a better way to do this.
160 if (chromecast_branding != "public") { 169 if (chromecast_branding != "public") {
161 deps += [ "//chromecast/internal:cast_shell_internal" ] 170 deps += [ "//chromecast/internal:cast_shell_internal" ]
162 } 171 }
163 } 172 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698