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 ] | 56 ] |
57 | 57 |
58 public_deps = [ | |
59 ":app_metrics", | |
60 ] | |
61 | |
62 deps = [ | 58 deps = [ |
63 ":app_config", | 59 ":app_config", |
64 ":app_net", | 60 ":app_net", |
65 ":app_permissions", | 61 ":app_permissions", |
66 ":app_settings", | 62 ":app_settings", |
67 ":app_switches", | 63 ":app_switches", |
68 ":app_ui", | 64 ":app_ui", |
69 ":blob_channel", | 65 ":blob_channel", |
70 ":common", | 66 ":common", |
71 ":renderer", | 67 ":renderer", |
72 ":session", | 68 ":session", |
73 "//base", | 69 "//base", |
74 "//blimp/common", | 70 "//blimp/common", |
75 "//blimp/common/proto", | 71 "//blimp/common/proto", |
76 "//blimp/engine:blob_channel_mojo_cpp_sources", | 72 "//blimp/engine:blob_channel_mojo_cpp_sources", |
77 "//blimp/net", | 73 "//blimp/net", |
78 "//components/metrics", | |
79 "//components/metrics:gpu", | |
80 "//components/metrics:net", | |
81 "//components/metrics:profiler", | |
82 "//components/metrics:ui", | |
83 "//components/prefs", | |
84 "//components/web_cache/renderer", | |
85 "//content", | |
86 "//content/public/app:both", | 74 "//content/public/app:both", |
87 "//content/public/browser", | 75 "//content/public/browser", |
88 "//content/public/common", | 76 "//content/public/common", |
89 "//content/public/renderer", | 77 "//content/public/renderer", |
90 "//content/public/utility", | 78 "//content/public/utility", |
91 "//net", | 79 "//net", |
92 ] | 80 ] |
93 } | 81 } |
94 | 82 |
95 source_set("app_config") { | 83 source_set("app_config") { |
96 sources = [ | 84 sources = [ |
97 "app/blimp_engine_config.cc", | 85 "app/blimp_engine_config.cc", |
98 "app/blimp_engine_config.h", | 86 "app/blimp_engine_config.h", |
99 ] | 87 ] |
100 deps = [ | 88 deps = [ |
101 ":app_switches", | 89 ":app_switches", |
102 "//base", | 90 "//base", |
103 ] | 91 ] |
104 } | 92 } |
105 | 93 |
106 source_set("app_metrics") { | |
107 sources = [ | |
108 "app/blimp_metrics_service_client.cc", | |
109 "app/blimp_metrics_service_client.h", | |
110 ] | |
111 | |
112 public_deps = [ | |
113 "//components/metrics", | |
114 "//content/public/browser", | |
115 ] | |
116 | |
117 deps = [ | |
118 "//base", | |
119 "//base:i18n", | |
120 "//components/metrics:gpu", | |
121 "//components/metrics:net", | |
122 "//components/metrics:profiler", | |
123 "//components/metrics:ui", | |
124 "//components/prefs", | |
125 "//components/version_info", | |
126 "//net", | |
127 ] | |
128 } | |
129 | |
130 source_set("app_net") { | 94 source_set("app_net") { |
131 sources = [ | 95 sources = [ |
132 "app/blimp_network_delegate.cc", | 96 "app/blimp_network_delegate.cc", |
133 "app/blimp_network_delegate.h", | 97 "app/blimp_network_delegate.h", |
134 "app/blimp_system_url_request_context_getter.cc", | 98 "app/blimp_system_url_request_context_getter.cc", |
135 "app/blimp_system_url_request_context_getter.h", | 99 "app/blimp_system_url_request_context_getter.h", |
136 "app/blimp_url_request_context_getter.cc", | 100 "app/blimp_url_request_context_getter.cc", |
137 "app/blimp_url_request_context_getter.h", | 101 "app/blimp_url_request_context_getter.h", |
138 ] | 102 ] |
139 deps = [ | 103 deps = [ |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 | 168 |
205 source_set("common") { | 169 source_set("common") { |
206 sources = [ | 170 sources = [ |
207 "common/blimp_browser_context.cc", | 171 "common/blimp_browser_context.cc", |
208 "common/blimp_browser_context.h", | 172 "common/blimp_browser_context.h", |
209 "common/blimp_content_client.cc", | 173 "common/blimp_content_client.cc", |
210 "common/blimp_content_client.h", | 174 "common/blimp_content_client.h", |
211 ] | 175 ] |
212 | 176 |
213 deps = [ | 177 deps = [ |
214 ":app_metrics", | |
215 ":app_net", | 178 ":app_net", |
216 ":app_permissions", | 179 ":app_permissions", |
217 ":common_user_agent", | 180 ":common_user_agent", |
218 "//base", | 181 "//base", |
219 "//components/metrics", | 182 "//content/public/browser", |
220 "//components/pref_registry", | |
221 "//components/prefs", | |
222 "//components/version_info", | |
223 "//content/public/common", | 183 "//content/public/common", |
224 "//net", | 184 "//net", |
225 "//ui/base", | 185 "//ui/base", |
226 ] | 186 ] |
227 } | 187 } |
228 | 188 |
229 source_set("common_user_agent") { | 189 source_set("common_user_agent") { |
230 sources = [ | 190 sources = [ |
231 "common/blimp_user_agent.cc", | 191 "common/blimp_user_agent.cc", |
232 "common/blimp_user_agent.h", | 192 "common/blimp_user_agent.h", |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 sources = [ | 287 sources = [ |
328 "mojo/blob_channel.mojom", | 288 "mojo/blob_channel.mojom", |
329 ] | 289 ] |
330 } | 290 } |
331 | 291 |
332 source_set("app_unit_tests") { | 292 source_set("app_unit_tests") { |
333 testonly = true | 293 testonly = true |
334 | 294 |
335 sources = [ | 295 sources = [ |
336 "app/blimp_engine_config_unittest.cc", | 296 "app/blimp_engine_config_unittest.cc", |
337 "app/blimp_metrics_service_client_unittest.cc", | |
338 "app/settings_manager_unittest.cc", | 297 "app/settings_manager_unittest.cc", |
339 "app/ui/blimp_screen_unittest.cc", | 298 "app/ui/blimp_screen_unittest.cc", |
340 ] | 299 ] |
341 | 300 |
342 deps = [ | 301 deps = [ |
343 ":app", | 302 ":app", |
344 ":app_config", | 303 ":app_config", |
345 ":app_metrics", | |
346 ":app_settings", | 304 ":app_settings", |
347 ":app_switches", | 305 ":app_switches", |
348 "//base", | 306 "//base", |
349 "//base/test:run_all_unittests", | 307 "//base/test:run_all_unittests", |
350 "//base/test:test_support", | 308 "//base/test:test_support", |
351 "//blimp/engine:app_ui", | 309 "//blimp/engine:app_ui", |
352 "//components/pref_registry:pref_registry", | |
353 "//components/prefs:prefs", | |
354 "//net:test_support", | |
355 "//testing/gmock", | 310 "//testing/gmock", |
356 "//testing/gtest", | 311 "//testing/gtest", |
357 "//ui/display", | 312 "//ui/display", |
358 "//ui/gfx:test_support", | 313 "//ui/gfx:test_support", |
359 ] | 314 ] |
360 } | 315 } |
361 | 316 |
362 source_set("feature_unit_tests") { | 317 source_set("feature_unit_tests") { |
363 testonly = true | 318 testonly = true |
364 | 319 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 _rebased_dockerfile, | 412 _rebased_dockerfile, |
458 "--startup-script", | 413 "--startup-script", |
459 _rebased_startup_script, | 414 _rebased_startup_script, |
460 "--manifest", | 415 "--manifest", |
461 _rebased_manifest, | 416 _rebased_manifest, |
462 "--output", | 417 "--output", |
463 rebase_path(_bundle), | 418 rebase_path(_bundle), |
464 ] | 419 ] |
465 } | 420 } |
466 } | 421 } |
OLD | NEW |