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

Side by Side Diff: blimp/engine/BUILD.gn

Issue 1922613003: Add blimp to root GN check_targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing dependency for //blimp/client:blimp_shell on //ui/platform_window Created 4 years, 8 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
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/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
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",
85 "//content/public/app:both", 77 "//content/public/app:both",
86 "//content/public/browser", 78 "//content/public/browser",
87 "//content/public/common", 79 "//content/public/common",
88 "//content/public/renderer", 80 "//content/public/renderer",
89 "//content/public/utility", 81 "//content/public/utility",
82 "//net",
90 ] 83 ]
91 } 84 }
92 85
86 source_set("app_config") {
87 sources = [
88 "app/blimp_engine_config.cc",
89 "app/blimp_engine_config.h",
90 ]
91 deps = [
92 ":app_switches",
93 "//base",
94 ]
95 }
96
97 source_set("app_net") {
98 sources = [
99 "app/blimp_network_delegate.cc",
100 "app/blimp_network_delegate.h",
101 "app/blimp_system_url_request_context_getter.cc",
102 "app/blimp_system_url_request_context_getter.h",
103 "app/blimp_url_request_context_getter.cc",
104 "app/blimp_url_request_context_getter.h",
105 ]
106 deps = [
107 ":common_user_agent",
108 "//base",
109 "//content/public/browser",
110 "//net",
111 ]
112 }
113
114 source_set("app_permissions") {
115 sources = [
116 "app/blimp_permission_manager.cc",
117 "app/blimp_permission_manager.h",
118 ]
119 deps = [
120 "//base",
121 "//content/public/browser",
122 ]
123 }
124
125 source_set("app_settings") {
126 sources = [
127 "app/engine_settings.h",
128 "app/settings_manager.cc",
129 "app/settings_manager.h",
130 ]
131 deps = [
132 "//blimp/net:blimp_net",
133 "//content/public/browser",
134 "//content/public/common",
135 ]
136 }
137
138 source_set("app_switches") {
139 sources = [
140 "app/switches.cc",
141 "app/switches.h",
142 ]
143 }
144
93 source_set("app_ui") { 145 source_set("app_ui") {
94 sources = [ 146 sources = [
95 "app/ui/blimp_layout_manager.cc", 147 "app/ui/blimp_layout_manager.cc",
96 "app/ui/blimp_layout_manager.h", 148 "app/ui/blimp_layout_manager.h",
97 "app/ui/blimp_screen.cc", 149 "app/ui/blimp_screen.cc",
98 "app/ui/blimp_screen.h", 150 "app/ui/blimp_screen.h",
99 "app/ui/blimp_window_tree_client.cc", 151 "app/ui/blimp_window_tree_client.cc",
100 "app/ui/blimp_window_tree_client.h", 152 "app/ui/blimp_window_tree_client.h",
101 "app/ui/blimp_window_tree_host.cc", 153 "app/ui/blimp_window_tree_host.cc",
102 "app/ui/blimp_window_tree_host.h", 154 "app/ui/blimp_window_tree_host.h",
(...skipping 15 matching lines...) Expand all
118 170
119 source_set("common") { 171 source_set("common") {
120 sources = [ 172 sources = [
121 "common/blimp_browser_context.cc", 173 "common/blimp_browser_context.cc",
122 "common/blimp_browser_context.h", 174 "common/blimp_browser_context.h",
123 "common/blimp_content_client.cc", 175 "common/blimp_content_client.cc",
124 "common/blimp_content_client.h", 176 "common/blimp_content_client.h",
125 ] 177 ]
126 178
127 deps = [ 179 deps = [
180 ":app_net",
181 ":app_permissions",
182 ":common_user_agent",
128 "//base", 183 "//base",
184 "//content/public/browser",
185 "//content/public/common",
186 "//net",
187 "//ui/base",
188 ]
189 }
190
191 source_set("common_user_agent") {
192 sources = [
193 "common/blimp_user_agent.cc",
194 "common/blimp_user_agent.h",
195 ]
196 deps = [
129 "//components/version_info", 197 "//components/version_info",
130 "//content/public/common", 198 "//content/public/common",
131 "//ui/base",
132 ] 199 ]
133 } 200 }
134 201
135 source_set("feature") { 202 source_set("feature") {
136 sources = [ 203 sources = [
137 "feature/engine_render_widget_feature.cc", 204 "feature/engine_render_widget_feature.cc",
138 "feature/engine_render_widget_feature.h", 205 "feature/engine_render_widget_feature.h",
139 "feature/engine_settings_feature.cc", 206 "feature/engine_settings_feature.cc",
140 "feature/engine_settings_feature.h", 207 "feature/engine_settings_feature.h",
141 ] 208 ]
142 209
143 deps = [ 210 deps = [
144 "//base", 211 "//base",
212 "//blimp/common:blimp_common",
145 "//blimp/common/proto", 213 "//blimp/common/proto",
214 "//blimp/engine:app_settings",
215 "//blimp/engine:common",
216 "//blimp/net:blimp_net",
217 "//content/public/browser",
218 "//content/public/common",
219 "//net",
146 "//ui/base", 220 "//ui/base",
147 "//ui/base/ime", 221 "//ui/base/ime",
148 "//ui/resources", 222 "//ui/resources",
149 "//ui/wm", 223 "//ui/wm",
150 ] 224 ]
151 } 225 }
152 226
153 source_set("renderer") { 227 source_set("renderer") {
154 sources = [ 228 sources = [
155 "renderer/engine_image_serialization_processor.cc", 229 "renderer/engine_image_serialization_processor.cc",
156 "renderer/engine_image_serialization_processor.h", 230 "renderer/engine_image_serialization_processor.h",
157 ] 231 ]
158 232
159 deps = [ 233 deps = [
160 ":blob_channel_mojo", 234 ":blob_channel_mojo",
161 "//base", 235 "//base",
162 "//blimp/common:blimp_common", 236 "//blimp/common:blimp_common",
163 "//blimp/common/proto", 237 "//blimp/common/proto",
164 "//cc", 238 "//cc",
239 "//content/public/renderer",
165 "//skia", 240 "//skia",
166 "//third_party/libwebp", 241 "//third_party/libwebp",
167 "//ui/gfx/geometry", 242 "//ui/gfx/geometry",
168 "//ui/gl", 243 "//ui/gl",
169 ] 244 ]
170 } 245 }
171 246
172 source_set("session") { 247 source_set("session") {
173 sources = [ 248 sources = [
174 "session/blimp_engine_session.cc", 249 "session/blimp_engine_session.cc",
175 "session/blimp_engine_session.h", 250 "session/blimp_engine_session.h",
176 ] 251 ]
177 252
178 deps = [ 253 deps = [
254 ":app_config",
255 ":app_settings",
256 ":app_switches",
257 ":app_ui",
258 ":common",
179 ":feature", 259 ":feature",
180 "//base", 260 "//base",
181 "//blimp/common:blimp_common", 261 "//blimp/common:blimp_common",
182 "//blimp/common/proto", 262 "//blimp/common/proto",
183 "//blimp/net:blimp_net", 263 "//blimp/net:blimp_net",
184 "//content", 264 "//content/public/browser",
185 "//net", 265 "//net",
266 "//ui/aura",
267 "//ui/base/ime",
268 "//ui/gfx/geometry",
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
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",
240 "//content", 329 "//blimp/engine:app_settings",
330 "//blimp/net:blimp_net",
331 "//blimp/net:test_support",
332 "//content/public/browser",
333 "//net",
334 "//net:test_support",
241 "//testing/gmock", 335 "//testing/gmock",
242 "//testing/gtest", 336 "//testing/gtest",
337 "//third_party/WebKit/public:blink_headers",
338 "//ui/base/ime",
243 ] 339 ]
244 } 340 }
245 341
246 source_set("unit_tests") { 342 source_set("unit_tests") {
247 testonly = true 343 testonly = true
248 344
249 deps = [ 345 deps = [
250 ":app_unit_tests", 346 ":app_unit_tests",
251 ":feature_unit_tests", 347 ":feature_unit_tests",
252 ] 348 ]
253 } 349 }
254 350
255 if (is_linux) { 351 if (is_linux) {
256 executable("blimp_engine_app") { 352 executable("blimp_engine_app") {
257 sources = [ 353 sources = [
258 "app/blimp_main.cc", 354 "app/blimp_main.cc",
259 ] 355 ]
260 356
261 deps = [ 357 deps = [
262 ":app", 358 ":app",
263 ":pak", 359 ":pak",
360 "//base",
264 "//blimp/net:blimp_net", 361 "//blimp/net:blimp_net",
265 "//content/public/app:both", 362 "//content/public/app:both",
266 ] 363 ]
267 } 364 }
268 365
269 group("blimp_engine") { 366 group("blimp_engine") {
270 deps = [ 367 deps = [
271 ":blimp_engine_app", 368 ":blimp_engine_app",
272 ":pak", 369 ":pak",
273 "//sandbox/linux:chrome_sandbox", 370 "//sandbox/linux:chrome_sandbox",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 _rebased_dockerfile, 409 _rebased_dockerfile,
313 "--startup-script", 410 "--startup-script",
314 _rebased_startup_script, 411 _rebased_startup_script,
315 "--manifest", 412 "--manifest",
316 _rebased_manifest, 413 _rebased_manifest,
317 "--output", 414 "--output",
318 rebase_path(_bundle), 415 rebase_path(_bundle),
319 ] 416 ]
320 } 417 }
321 } 418 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698