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

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

Powered by Google App Engine
This is Rietveld 408576698