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

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

Issue 2570623003: [Chromecast] Turn CastContentWindow into an abstract interface. (Closed)
Patch Set: Fix browser test Created 3 years, 11 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 | « chromecast/app/android/cast_jni_loader.cc ('k') | chromecast/browser/DEPS » ('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 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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//chromecast/chromecast.gni") 6 import("//chromecast/chromecast.gni")
7 import("//services/service_manager/public/service_manifest.gni") 7 import("//services/service_manager/public/service_manifest.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 import("//tools/grit/grit_rule.gni") 9 import("//tools/grit/grit_rule.gni")
10 10
11 if (is_android) { 11 if (is_android) {
12 import("//build/config/android/rules.gni") 12 import("//build/config/android/rules.gni")
13 } 13 }
14 14
15 source_set("browser") { 15 source_set("browser") {
16 sources = [ 16 sources = [
17 "android/cast_window_android.cc",
18 "android/cast_window_android.h",
19 "android/cast_window_manager.cc",
20 "android/cast_window_manager.h",
21 "cast_browser_context.cc", 17 "cast_browser_context.cc",
22 "cast_browser_context.h", 18 "cast_browser_context.h",
23 "cast_browser_main_parts.cc", 19 "cast_browser_main_parts.cc",
24 "cast_browser_main_parts.h", 20 "cast_browser_main_parts.h",
25 "cast_browser_process.cc", 21 "cast_browser_process.cc",
26 "cast_browser_process.h", 22 "cast_browser_process.h",
27 "cast_content_browser_client.cc", 23 "cast_content_browser_client.cc",
28 "cast_content_browser_client.h", 24 "cast_content_browser_client.h",
29 "cast_content_window.cc",
30 "cast_content_window.h", 25 "cast_content_window.h",
31 "cast_download_manager_delegate.cc", 26 "cast_download_manager_delegate.cc",
32 "cast_download_manager_delegate.h", 27 "cast_download_manager_delegate.h",
33 "cast_http_user_agent_settings.cc", 28 "cast_http_user_agent_settings.cc",
34 "cast_http_user_agent_settings.h", 29 "cast_http_user_agent_settings.h",
35 "cast_media_blocker.cc", 30 "cast_media_blocker.cc",
36 "cast_media_blocker.h", 31 "cast_media_blocker.h",
37 "cast_net_log.cc", 32 "cast_net_log.cc",
38 "cast_net_log.h", 33 "cast_net_log.h",
39 "cast_network_delegate.cc", 34 "cast_network_delegate.cc",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 "//media", 112 "//media",
118 "//net", 113 "//net",
119 "//ui/base", 114 "//ui/base",
120 "//ui/compositor", 115 "//ui/compositor",
121 "//ui/display", 116 "//ui/display",
122 "//ui/gl", 117 "//ui/gl",
123 ] 118 ]
124 119
125 if (is_linux) { 120 if (is_linux) {
126 sources += [ 121 sources += [
122 "cast_content_window_linux.cc",
123 "cast_content_window_linux.h",
127 "cast_memory_pressure_monitor.cc", 124 "cast_memory_pressure_monitor.cc",
128 "cast_memory_pressure_monitor.h", 125 "cast_memory_pressure_monitor.h",
129 "metrics/external_metrics.cc", 126 "metrics/external_metrics.cc",
130 "metrics/external_metrics.h", 127 "metrics/external_metrics.h",
131 ] 128 ]
132 129
133 deps += [ 130 deps += [
134 "//build/linux:fontconfig", 131 "//build/linux:fontconfig",
135 "//components/metrics:serialization", 132 "//components/metrics:serialization",
136 "//ui/aura", 133 "//ui/aura",
137 ] 134 ]
138 } else if (is_android) { 135 } else if (is_android) {
136 sources += [
137 "android/cast_content_window_android.cc",
138 "android/cast_content_window_android.h",
139 "android/cast_metrics_helper_android.cc",
140 "android/cast_metrics_helper_android.h",
141 "android/cast_web_contents_activity.cc",
142 "android/cast_web_contents_activity.h",
143 "android/jni_registrar.cc",
144 "android/jni_registrar.h",
145 ]
146
139 deps += [ ":jni_headers" ] 147 deps += [ ":jni_headers" ]
140 } 148 }
141 149
142 if (use_ozone) { 150 if (use_ozone) {
143 deps += [ "//ui/ozone" ] 151 deps += [ "//ui/ozone" ]
144 } 152 }
145 } 153 }
146 154
147 # HOW THIS WORKS 155 # HOW THIS WORKS
148 # This target generates an "overlay" interface spec, allowing the Cast build to 156 # This target generates an "overlay" interface spec, allowing the Cast build to
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 "//chromecast/base", 266 "//chromecast/base",
259 "//content/public/browser", 267 "//content/public/browser",
260 "//content/test:test_support", 268 "//content/test:test_support",
261 "//ui/gl:test_support", 269 "//ui/gl:test_support",
262 ] 270 ]
263 } 271 }
264 272
265 if (is_android) { 273 if (is_android) {
266 generate_jni("jni_headers") { 274 generate_jni("jni_headers") {
267 sources = [ 275 sources = [
276 "android/apk/src/org/chromium/chromecast/shell/CastContentWindowAndroid.ja va",
268 "android/apk/src/org/chromium/chromecast/shell/CastCrashHandler.java", 277 "android/apk/src/org/chromium/chromecast/shell/CastCrashHandler.java",
269 "android/apk/src/org/chromium/chromecast/shell/CastMetricsHelper.java", 278 "android/apk/src/org/chromium/chromecast/shell/CastMetricsHelper.java",
270 "android/apk/src/org/chromium/chromecast/shell/CastSysInfoAndroid.java", 279 "android/apk/src/org/chromium/chromecast/shell/CastSysInfoAndroid.java",
271 "android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java", 280 "android/apk/src/org/chromium/chromecast/shell/CastWebContentsActivity.jav a",
272 "android/apk/src/org/chromium/chromecast/shell/CastWindowManager.java",
273 ] 281 ]
274 282
275 jni_package = "chromecast" 283 jni_package = "chromecast"
276 } 284 }
277 } 285 }
OLDNEW
« no previous file with comments | « chromecast/app/android/cast_jni_loader.cc ('k') | chromecast/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698