OLD | NEW |
---|---|
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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
10 import("//tools/grit/grit_rule.gni") | 10 import("//tools/grit/grit_rule.gni") |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
48 source_set("app") { | 48 source_set("app") { |
49 sources = [ | 49 sources = [ |
50 "app/blimp_browser_main_parts.cc", | 50 "app/blimp_browser_main_parts.cc", |
51 "app/blimp_browser_main_parts.h", | 51 "app/blimp_browser_main_parts.h", |
52 "app/blimp_content_browser_client.cc", | 52 "app/blimp_content_browser_client.cc", |
53 "app/blimp_content_browser_client.h", | 53 "app/blimp_content_browser_client.h", |
54 "app/blimp_content_main_delegate.cc", | 54 "app/blimp_content_main_delegate.cc", |
55 "app/blimp_content_main_delegate.h", | 55 "app/blimp_content_main_delegate.h", |
56 "app/blimp_content_renderer_client.cc", | 56 "app/blimp_content_renderer_client.cc", |
57 "app/blimp_content_renderer_client.h", | 57 "app/blimp_content_renderer_client.h", |
58 "app/blimp_engine_config.cc", | |
59 "app/blimp_engine_config.h", | |
60 "app/blimp_network_delegate.cc", | |
61 "app/blimp_network_delegate.h", | |
62 "app/blimp_permission_manager.cc", | |
63 "app/blimp_permission_manager.h", | |
64 "app/blimp_system_url_request_context_getter.cc", | |
65 "app/blimp_system_url_request_context_getter.h", | |
66 "app/blimp_url_request_context_getter.cc", | |
67 "app/blimp_url_request_context_getter.h", | |
68 "app/engine_settings.h", | |
69 "app/settings_manager.cc", | |
70 "app/settings_manager.h", | |
71 "app/switches.cc", | |
72 "app/switches.h", | |
73 ] | 58 ] |
74 | 59 |
75 deps = [ | 60 deps = [ |
61 ":app_config", | |
62 ":app_net", | |
63 ":app_permissions", | |
64 ":app_settings", | |
65 ":app_switches", | |
76 ":app_ui", | 66 ":app_ui", |
77 ":blob_channel", | 67 ":blob_channel", |
78 ":common", | 68 ":common", |
79 ":renderer", | 69 ":renderer", |
80 ":session", | 70 ":session", |
81 "//base", | 71 "//base", |
72 "//blimp/common:blimp_common", | |
82 "//blimp/common/proto", | 73 "//blimp/common/proto", |
74 "//blimp/engine:blob_channel_mojo_cpp_sources", | |
75 "//blimp/net:blimp_net", | |
83 "//components/web_cache/renderer", | 76 "//components/web_cache/renderer", |
84 "//content", | 77 "//content", |
85 "//content/public/app:both", | 78 "//content/public/app:both", |
86 "//content/public/browser", | 79 "//content/public/browser", |
87 "//content/public/common", | 80 "//content/public/common", |
88 "//content/public/renderer", | 81 "//content/public/renderer", |
89 "//content/public/utility", | 82 "//content/public/utility", |
83 "//net", | |
90 ] | 84 ] |
91 } | 85 } |
92 | 86 |
87 source_set("app_config") { | |
88 sources = [ | |
89 "app/blimp_engine_config.cc", | |
90 "app/blimp_engine_config.h", | |
91 ] | |
92 deps = [ | |
93 ":app_switches", | |
94 "//base", | |
95 ] | |
96 } | |
97 | |
98 source_set("app_net") { | |
99 sources = [ | |
100 "app/blimp_network_delegate.cc", | |
101 "app/blimp_network_delegate.h", | |
102 "app/blimp_system_url_request_context_getter.cc", | |
103 "app/blimp_system_url_request_context_getter.h", | |
104 "app/blimp_url_request_context_getter.cc", | |
105 "app/blimp_url_request_context_getter.h", | |
106 ] | |
107 deps = [ | |
108 ":common_user_agent", | |
109 "//base", | |
110 "//content/public/browser", | |
111 "//net", | |
112 ] | |
113 } | |
114 | |
115 source_set("app_permissions") { | |
116 sources = [ | |
117 "app/blimp_permission_manager.cc", | |
118 "app/blimp_permission_manager.h", | |
119 ] | |
120 deps = [ | |
121 "//base", | |
122 "//content/public/browser", | |
123 ] | |
124 } | |
125 | |
126 source_set("app_settings") { | |
127 sources = [ | |
128 "app/engine_settings.h", | |
129 "app/settings_manager.cc", | |
130 "app/settings_manager.h", | |
131 ] | |
132 deps = [ | |
133 "//blimp/net:blimp_net", | |
134 "//content/public/browser", | |
135 "//content/public/common", | |
136 ] | |
137 } | |
138 | |
139 source_set("app_switches") { | |
140 sources = [ | |
141 "app/switches.cc", | |
142 "app/switches.h", | |
143 ] | |
144 } | |
145 | |
93 source_set("app_ui") { | 146 source_set("app_ui") { |
94 sources = [ | 147 sources = [ |
95 "app/ui/blimp_layout_manager.cc", | 148 "app/ui/blimp_layout_manager.cc", |
96 "app/ui/blimp_layout_manager.h", | 149 "app/ui/blimp_layout_manager.h", |
97 "app/ui/blimp_screen.cc", | 150 "app/ui/blimp_screen.cc", |
98 "app/ui/blimp_screen.h", | 151 "app/ui/blimp_screen.h", |
99 "app/ui/blimp_window_tree_client.cc", | 152 "app/ui/blimp_window_tree_client.cc", |
100 "app/ui/blimp_window_tree_client.h", | 153 "app/ui/blimp_window_tree_client.h", |
101 "app/ui/blimp_window_tree_host.cc", | 154 "app/ui/blimp_window_tree_host.cc", |
102 "app/ui/blimp_window_tree_host.h", | 155 "app/ui/blimp_window_tree_host.h", |
(...skipping 15 matching lines...) Expand all Loading... | |
118 | 171 |
119 source_set("common") { | 172 source_set("common") { |
120 sources = [ | 173 sources = [ |
121 "common/blimp_browser_context.cc", | 174 "common/blimp_browser_context.cc", |
122 "common/blimp_browser_context.h", | 175 "common/blimp_browser_context.h", |
123 "common/blimp_content_client.cc", | 176 "common/blimp_content_client.cc", |
124 "common/blimp_content_client.h", | 177 "common/blimp_content_client.h", |
125 ] | 178 ] |
126 | 179 |
127 deps = [ | 180 deps = [ |
181 ":app_net", | |
182 ":app_permissions", | |
183 ":common_user_agent", | |
128 "//base", | 184 "//base", |
185 "//content/public/browser", | |
186 "//content/public/common", | |
187 "//net", | |
188 "//ui/base", | |
189 ] | |
190 } | |
191 | |
192 source_set("common_user_agent") { | |
193 sources = [ | |
194 "common/blimp_user_agent.cc", | |
195 "common/blimp_user_agent.h", | |
196 ] | |
197 deps = [ | |
129 "//components/version_info", | 198 "//components/version_info", |
130 "//content/public/common", | 199 "//content/public/common", |
131 "//ui/base", | |
132 ] | 200 ] |
133 } | 201 } |
134 | 202 |
135 source_set("feature") { | 203 source_set("feature") { |
136 sources = [ | 204 sources = [ |
137 "feature/engine_render_widget_feature.cc", | 205 "feature/engine_render_widget_feature.cc", |
138 "feature/engine_render_widget_feature.h", | 206 "feature/engine_render_widget_feature.h", |
139 "feature/engine_settings_feature.cc", | 207 "feature/engine_settings_feature.cc", |
140 "feature/engine_settings_feature.h", | 208 "feature/engine_settings_feature.h", |
141 ] | 209 ] |
142 | 210 |
143 deps = [ | 211 deps = [ |
144 "//base", | 212 "//base", |
213 "//blimp/common:blimp_common", | |
145 "//blimp/common/proto", | 214 "//blimp/common/proto", |
215 "//blimp/engine:app_settings", | |
216 "//blimp/engine:common", | |
217 "//blimp/net:blimp_net", | |
218 "//content/public/browser", | |
219 "//content/public/common", | |
220 "//net", | |
146 "//ui/base", | 221 "//ui/base", |
147 "//ui/base/ime", | 222 "//ui/base/ime", |
148 "//ui/resources", | 223 "//ui/resources", |
149 "//ui/wm", | 224 "//ui/wm", |
150 ] | 225 ] |
151 } | 226 } |
152 | 227 |
153 source_set("renderer") { | 228 source_set("renderer") { |
154 sources = [ | 229 sources = [ |
155 "renderer/engine_image_serialization_processor.cc", | 230 "renderer/engine_image_serialization_processor.cc", |
156 "renderer/engine_image_serialization_processor.h", | 231 "renderer/engine_image_serialization_processor.h", |
157 ] | 232 ] |
158 | 233 |
159 deps = [ | 234 deps = [ |
160 ":blob_channel_mojo", | 235 ":blob_channel_mojo", |
161 "//base", | 236 "//base", |
162 "//blimp/common:blimp_common", | 237 "//blimp/common:blimp_common", |
163 "//blimp/common/proto", | 238 "//blimp/common/proto", |
164 "//cc", | 239 "//cc", |
240 "//content/public/renderer", | |
165 "//skia", | 241 "//skia", |
166 "//third_party/libwebp", | 242 "//third_party/libwebp", |
167 "//ui/gfx/geometry", | 243 "//ui/gfx/geometry", |
168 "//ui/gl", | 244 "//ui/gl", |
169 ] | 245 ] |
170 } | 246 } |
171 | 247 |
172 source_set("session") { | 248 source_set("session") { |
173 sources = [ | 249 sources = [ |
174 "session/blimp_engine_session.cc", | 250 "session/blimp_engine_session.cc", |
175 "session/blimp_engine_session.h", | 251 "session/blimp_engine_session.h", |
176 ] | 252 ] |
177 | 253 |
178 deps = [ | 254 deps = [ |
255 ":app_config", | |
256 ":app_settings", | |
257 ":app_switches", | |
258 ":app_ui", | |
259 ":common", | |
179 ":feature", | 260 ":feature", |
180 "//base", | 261 "//base", |
181 "//blimp/common:blimp_common", | 262 "//blimp/common:blimp_common", |
182 "//blimp/common/proto", | 263 "//blimp/common/proto", |
183 "//blimp/net:blimp_net", | 264 "//blimp/net:blimp_net", |
184 "//content", | 265 "//content", |
185 "//net", | 266 "//net", |
267 "//ui/aura", | |
268 "//ui/base/ime", | |
269 "//ui/wm", | |
186 ] | 270 ] |
187 } | 271 } |
188 | 272 |
189 # Implements the browser portions of the Mojo bridge to BlobChannel. | 273 # Implements the browser portions of the Mojo bridge to BlobChannel. |
190 source_set("blob_channel") { | 274 source_set("blob_channel") { |
191 sources = [ | 275 sources = [ |
192 "mojo/blob_channel_service.cc", | 276 "mojo/blob_channel_service.cc", |
193 "mojo/blob_channel_service.h", | 277 "mojo/blob_channel_service.h", |
194 ] | 278 ] |
195 deps = [ | 279 deps = [ |
(...skipping 11 matching lines...) Expand all Loading... | |
207 testonly = true | 291 testonly = true |
208 | 292 |
209 sources = [ | 293 sources = [ |
210 "app/blimp_engine_config_unittest.cc", | 294 "app/blimp_engine_config_unittest.cc", |
211 "app/settings_manager_unittest.cc", | 295 "app/settings_manager_unittest.cc", |
212 "app/ui/blimp_screen_unittest.cc", | 296 "app/ui/blimp_screen_unittest.cc", |
213 ] | 297 ] |
214 | 298 |
215 deps = [ | 299 deps = [ |
216 ":app", | 300 ":app", |
301 ":app_config", | |
302 ":app_settings", | |
303 ":app_switches", | |
217 "//base", | 304 "//base", |
218 "//base/test:run_all_unittests", | 305 "//base/test:run_all_unittests", |
219 "//base/test:test_support", | 306 "//base/test:test_support", |
307 "//blimp/engine:app_ui", | |
220 "//testing/gmock", | 308 "//testing/gmock", |
221 "//testing/gtest", | 309 "//testing/gtest", |
222 "//ui/gfx:test_support", | 310 "//ui/gfx:test_support", |
223 ] | 311 ] |
224 } | 312 } |
225 | 313 |
226 source_set("feature_unit_tests") { | 314 source_set("feature_unit_tests") { |
227 testonly = true | 315 testonly = true |
228 | 316 |
229 sources = [ | 317 sources = [ |
230 "feature/engine_render_widget_feature_unittest.cc", | 318 "feature/engine_render_widget_feature_unittest.cc", |
231 "feature/engine_settings_feature_unittest.cc", | 319 "feature/engine_settings_feature_unittest.cc", |
232 ] | 320 ] |
233 | 321 |
234 deps = [ | 322 deps = [ |
235 ":feature", | 323 ":feature", |
236 "//base", | 324 "//base", |
237 "//base/test:run_all_unittests", | 325 "//base/test:run_all_unittests", |
238 "//base/test:test_support", | 326 "//base/test:test_support", |
327 "//blimp/common:blimp_common", | |
239 "//blimp/common/proto", | 328 "//blimp/common/proto", |
329 "//blimp/engine:app_settings", | |
330 "//blimp/net:blimp_net", | |
331 "//blimp/net:test_support", | |
240 "//content", | 332 "//content", |
333 "//net", | |
334 "//net:test_support", | |
241 "//testing/gmock", | 335 "//testing/gmock", |
242 "//testing/gtest", | 336 "//testing/gtest", |
337 "//ui/base/ime", | |
243 ] | 338 ] |
244 } | 339 } |
245 | 340 |
246 source_set("unit_tests") { | 341 source_set("unit_tests") { |
247 testonly = true | 342 testonly = true |
248 | 343 |
249 deps = [ | 344 deps = [ |
250 ":app_unit_tests", | 345 ":app_unit_tests", |
251 ":feature_unit_tests", | 346 ":feature_unit_tests", |
252 ] | 347 ] |
253 } | 348 } |
254 | 349 |
255 if (is_linux) { | 350 if (is_linux) { |
256 executable("blimp_engine_app") { | 351 executable("blimp_engine_app") { |
257 sources = [ | 352 sources = [ |
258 "app/blimp_main.cc", | 353 "app/blimp_main.cc", |
259 ] | 354 ] |
260 | 355 |
261 deps = [ | 356 deps = [ |
262 ":app", | 357 ":app", |
263 ":pak", | 358 ":pak", |
359 "//base", | |
264 "//blimp/net:blimp_net", | 360 "//blimp/net:blimp_net", |
265 "//content/public/app:both", | 361 "//content", |
Dirk Pranke
2016/04/26 01:21:44
Actually, thinking about this now, I might've gott
brettw
2016/04/26 04:59:40
I think there is some context that I'm missing. Bu
nyquist
2016/04/26 21:47:50
Updated https://codereview.chromium.org/1914933004
| |
266 ] | 362 ] |
267 } | 363 } |
268 | 364 |
269 group("blimp_engine") { | 365 group("blimp_engine") { |
270 deps = [ | 366 deps = [ |
271 ":blimp_engine_app", | 367 ":blimp_engine_app", |
272 ":pak", | 368 ":pak", |
273 "//sandbox/linux:chrome_sandbox", | 369 "//sandbox/linux:chrome_sandbox", |
274 "//third_party/blimp_fonts", | 370 "//third_party/blimp_fonts", |
275 ] | 371 ] |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
312 _rebased_dockerfile, | 408 _rebased_dockerfile, |
313 "--startup-script", | 409 "--startup-script", |
314 _rebased_startup_script, | 410 _rebased_startup_script, |
315 "--manifest", | 411 "--manifest", |
316 _rebased_manifest, | 412 _rebased_manifest, |
317 "--output", | 413 "--output", |
318 rebase_path(_bundle), | 414 rebase_path(_bundle), |
319 ] | 415 ] |
320 } | 416 } |
321 } | 417 } |
OLD | NEW |