| 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 |
| 58 deps = [ | 62 deps = [ |
| 59 ":app_config", | 63 ":app_config", |
| 60 ":app_net", | 64 ":app_net", |
| 61 ":app_permissions", | 65 ":app_permissions", |
| 62 ":app_settings", | 66 ":app_settings", |
| 63 ":app_switches", | 67 ":app_switches", |
| 64 ":app_ui", | 68 ":app_ui", |
| 65 ":blob_channel", | 69 ":blob_channel", |
| 66 ":common", | 70 ":common", |
| 67 ":crash", | 71 ":crash", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 91 deps = [ | 95 deps = [ |
| 92 ":app_switches", | 96 ":app_switches", |
| 93 "//base", | 97 "//base", |
| 94 "//cc", | 98 "//cc", |
| 95 "//content/public/common", | 99 "//content/public/common", |
| 96 "//ui/gl", | 100 "//ui/gl", |
| 97 "//ui/native_theme", | 101 "//ui/native_theme", |
| 98 ] | 102 ] |
| 99 } | 103 } |
| 100 | 104 |
| 105 source_set("app_metrics") { |
| 106 sources = [ |
| 107 "app/blimp_metrics_service_client.cc", |
| 108 "app/blimp_metrics_service_client.h", |
| 109 ] |
| 110 |
| 111 public_deps = [ |
| 112 "//components/metrics", |
| 113 "//content/public/browser", |
| 114 ] |
| 115 |
| 116 deps = [ |
| 117 "//base", |
| 118 "//base:i18n", |
| 119 "//components/metrics:gpu", |
| 120 "//components/metrics:net", |
| 121 "//components/metrics:profiler", |
| 122 "//components/metrics:ui", |
| 123 "//components/prefs", |
| 124 "//components/version_info", |
| 125 "//net", |
| 126 ] |
| 127 } |
| 128 |
| 101 source_set("app_net") { | 129 source_set("app_net") { |
| 102 sources = [ | 130 sources = [ |
| 103 "app/blimp_network_delegate.cc", | 131 "app/blimp_network_delegate.cc", |
| 104 "app/blimp_network_delegate.h", | 132 "app/blimp_network_delegate.h", |
| 105 "app/blimp_system_url_request_context_getter.cc", | 133 "app/blimp_system_url_request_context_getter.cc", |
| 106 "app/blimp_system_url_request_context_getter.h", | 134 "app/blimp_system_url_request_context_getter.h", |
| 107 "app/blimp_url_request_context_getter.cc", | 135 "app/blimp_url_request_context_getter.cc", |
| 108 "app/blimp_url_request_context_getter.h", | 136 "app/blimp_url_request_context_getter.h", |
| 109 ] | 137 ] |
| 110 deps = [ | 138 deps = [ |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 | 222 |
| 195 source_set("common") { | 223 source_set("common") { |
| 196 sources = [ | 224 sources = [ |
| 197 "common/blimp_browser_context.cc", | 225 "common/blimp_browser_context.cc", |
| 198 "common/blimp_browser_context.h", | 226 "common/blimp_browser_context.h", |
| 199 "common/blimp_content_client.cc", | 227 "common/blimp_content_client.cc", |
| 200 "common/blimp_content_client.h", | 228 "common/blimp_content_client.h", |
| 201 ] | 229 ] |
| 202 | 230 |
| 203 deps = [ | 231 deps = [ |
| 232 ":app_metrics", |
| 204 ":app_net", | 233 ":app_net", |
| 205 ":app_permissions", | 234 ":app_permissions", |
| 206 ":common_user_agent", | 235 ":common_user_agent", |
| 207 "//base", | 236 "//base", |
| 208 "//content/public/browser", | 237 "//components/metrics", |
| 238 "//components/pref_registry", |
| 239 "//components/prefs", |
| 240 "//components/version_info", |
| 209 "//content/public/common", | 241 "//content/public/common", |
| 210 "//net", | 242 "//net", |
| 211 "//ui/base", | 243 "//ui/base", |
| 212 ] | 244 ] |
| 213 } | 245 } |
| 214 | 246 |
| 215 source_set("common_user_agent") { | 247 source_set("common_user_agent") { |
| 216 sources = [ | 248 sources = [ |
| 217 "common/blimp_user_agent.cc", | 249 "common/blimp_user_agent.cc", |
| 218 "common/blimp_user_agent.h", | 250 "common/blimp_user_agent.h", |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 ":app", | 359 ":app", |
| 328 "//base", | 360 "//base", |
| 329 ] | 361 ] |
| 330 } | 362 } |
| 331 | 363 |
| 332 source_set("app_unit_tests") { | 364 source_set("app_unit_tests") { |
| 333 testonly = true | 365 testonly = true |
| 334 | 366 |
| 335 sources = [ | 367 sources = [ |
| 336 "app/blimp_engine_config_unittest.cc", | 368 "app/blimp_engine_config_unittest.cc", |
| 369 "app/blimp_metrics_service_client_unittest.cc", |
| 337 "app/blimp_system_url_request_context_getter_unittest.cc", | 370 "app/blimp_system_url_request_context_getter_unittest.cc", |
| 338 "app/settings_manager_unittest.cc", | 371 "app/settings_manager_unittest.cc", |
| 339 "app/ui/blimp_screen_unittest.cc", | 372 "app/ui/blimp_screen_unittest.cc", |
| 340 ] | 373 ] |
| 341 | 374 |
| 342 deps = [ | 375 deps = [ |
| 343 ":app", | 376 ":app", |
| 344 ":app_config", | 377 ":app_config", |
| 378 ":app_metrics", |
| 345 ":app_net", | 379 ":app_net", |
| 346 ":app_settings", | 380 ":app_settings", |
| 347 ":app_switches", | 381 ":app_switches", |
| 348 "//base", | 382 "//base", |
| 349 "//base/test:run_all_unittests", | 383 "//base/test:run_all_unittests", |
| 350 "//base/test:test_support", | 384 "//base/test:test_support", |
| 351 "//blimp/engine:app_ui", | 385 "//blimp/engine:app_ui", |
| 386 "//components/metrics:metrics", |
| 387 "//components/pref_registry:pref_registry", |
| 388 "//components/prefs:prefs", |
| 352 "//content/test:test_support", | 389 "//content/test:test_support", |
| 390 "//net:test_support", |
| 353 "//testing/gmock", | 391 "//testing/gmock", |
| 354 "//testing/gtest", | 392 "//testing/gtest", |
| 355 "//ui/display", | 393 "//ui/display", |
| 356 "//ui/gfx:test_support", | 394 "//ui/gfx:test_support", |
| 357 ] | 395 ] |
| 358 } | 396 } |
| 359 | 397 |
| 398 source_set("common_unit_tests") { |
| 399 testonly = true |
| 400 |
| 401 sources = [ |
| 402 "common/blimp_browser_context_unittest.cc", |
| 403 ] |
| 404 |
| 405 deps = [ |
| 406 ":common", |
| 407 "//base", |
| 408 "//base/test:run_all_unittests", |
| 409 "//base/test:test_support", |
| 410 "//components/metrics:metrics", |
| 411 "//content/public/browser", |
| 412 "//content/test:test_support", |
| 413 "//net:test_support", |
| 414 "//testing/gmock", |
| 415 "//testing/gtest", |
| 416 ] |
| 417 } |
| 418 |
| 360 source_set("feature_unit_tests") { | 419 source_set("feature_unit_tests") { |
| 361 testonly = true | 420 testonly = true |
| 362 | 421 |
| 363 sources = [ | 422 sources = [ |
| 364 "feature/engine_render_widget_feature_unittest.cc", | 423 "feature/engine_render_widget_feature_unittest.cc", |
| 365 "feature/engine_settings_feature_unittest.cc", | 424 "feature/engine_settings_feature_unittest.cc", |
| 366 ] | 425 ] |
| 367 | 426 |
| 368 deps = [ | 427 deps = [ |
| 369 ":feature", | 428 ":feature", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 383 "//third_party/WebKit/public:blink_headers", | 442 "//third_party/WebKit/public:blink_headers", |
| 384 "//ui/base/ime", | 443 "//ui/base/ime", |
| 385 ] | 444 ] |
| 386 } | 445 } |
| 387 | 446 |
| 388 source_set("unit_tests") { | 447 source_set("unit_tests") { |
| 389 testonly = true | 448 testonly = true |
| 390 | 449 |
| 391 deps = [ | 450 deps = [ |
| 392 ":app_unit_tests", | 451 ":app_unit_tests", |
| 452 ":common_unit_tests", |
| 393 ":feature_unit_tests", | 453 ":feature_unit_tests", |
| 394 ] | 454 ] |
| 395 } | 455 } |
| 396 | 456 |
| 397 if (is_linux) { | 457 if (is_linux) { |
| 398 executable("blimp_engine_app") { | 458 executable("blimp_engine_app") { |
| 399 sources = [ | 459 sources = [ |
| 400 "app/blimp_main.cc", | 460 "app/blimp_main.cc", |
| 401 ] | 461 ] |
| 402 | 462 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 _rebased_dockerfile, | 525 _rebased_dockerfile, |
| 466 "--startup-script", | 526 "--startup-script", |
| 467 _rebased_startup_script, | 527 _rebased_startup_script, |
| 468 "--manifest", | 528 "--manifest", |
| 469 _rebased_manifest, | 529 _rebased_manifest, |
| 470 "--output", | 530 "--output", |
| 471 rebase_path(_bundle), | 531 rebase_path(_bundle), |
| 472 ] | 532 ] |
| 473 } | 533 } |
| 474 } | 534 } |
| OLD | NEW |