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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/sanitizers/sanitizers.gni") | 7 import("//build/config/sanitizers/sanitizers.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
10 import("//tools/grit/repack.gni") | 10 import("//tools/grit/repack.gni") |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 "app/ui/blimp_screen_unittest.cc", | 383 "app/ui/blimp_screen_unittest.cc", |
384 ] | 384 ] |
385 | 385 |
386 deps = [ | 386 deps = [ |
387 ":app", | 387 ":app", |
388 ":app_config", | 388 ":app_config", |
389 ":app_metrics", | 389 ":app_metrics", |
390 ":app_net", | 390 ":app_net", |
391 ":app_settings", | 391 ":app_settings", |
392 "//base", | 392 "//base", |
393 "//base/test:run_all_unittests", | |
394 "//base/test:test_support", | 393 "//base/test:test_support", |
395 "//blimp/common", | 394 "//blimp/common", |
396 "//blimp/common:test_support", | 395 "//blimp/common:test_support", |
397 "//blimp/engine:app_ui", | 396 "//blimp/engine:app_ui", |
398 "//components/metrics:metrics", | 397 "//components/metrics:metrics", |
399 "//components/pref_registry:pref_registry", | 398 "//components/pref_registry:pref_registry", |
400 "//components/prefs:prefs", | 399 "//components/prefs:prefs", |
401 "//content/test:test_support", | 400 "//content/test:test_support", |
402 "//net:test_support", | 401 "//net:test_support", |
403 "//testing/gmock", | 402 "//testing/gmock", |
404 "//testing/gtest", | 403 "//testing/gtest", |
405 "//ui/display", | 404 "//ui/display", |
406 "//ui/gfx:test_support", | 405 "//ui/gfx:test_support", |
407 ] | 406 ] |
408 } | 407 } |
409 | 408 |
410 source_set("common_unit_tests") { | 409 source_set("common_unit_tests") { |
411 testonly = true | 410 testonly = true |
412 | 411 |
413 sources = [ | 412 sources = [ |
414 "common/blimp_browser_context_unittest.cc", | 413 "common/blimp_browser_context_unittest.cc", |
415 ] | 414 ] |
416 | 415 |
417 deps = [ | 416 deps = [ |
418 ":common", | 417 ":common", |
419 "//base", | 418 "//base", |
420 "//base/test:run_all_unittests", | |
421 "//base/test:test_support", | 419 "//base/test:test_support", |
422 "//components/metrics:metrics", | 420 "//components/metrics:metrics", |
423 "//content/public/browser", | 421 "//content/public/browser", |
424 "//content/test:test_support", | 422 "//content/test:test_support", |
425 "//net:test_support", | 423 "//net:test_support", |
426 "//testing/gmock", | 424 "//testing/gmock", |
427 "//testing/gtest", | 425 "//testing/gtest", |
428 ] | 426 ] |
429 } | 427 } |
430 | 428 |
431 source_set("feature_unit_tests") { | 429 source_set("feature_unit_tests") { |
432 testonly = true | 430 testonly = true |
433 | 431 |
434 sources = [ | 432 sources = [ |
435 "feature/engine_render_widget_feature_unittest.cc", | 433 "feature/engine_render_widget_feature_unittest.cc", |
436 "feature/engine_settings_feature_unittest.cc", | 434 "feature/engine_settings_feature_unittest.cc", |
437 ] | 435 ] |
438 | 436 |
439 deps = [ | 437 deps = [ |
440 ":feature", | 438 ":feature", |
441 "//base", | 439 "//base", |
442 "//base/test:run_all_unittests", | |
443 "//base/test:test_support", | 440 "//base/test:test_support", |
444 "//blimp/common", | 441 "//blimp/common", |
445 "//blimp/common/proto", | 442 "//blimp/common/proto", |
446 "//blimp/engine:app_settings", | 443 "//blimp/engine:app_settings", |
447 "//blimp/net", | 444 "//blimp/net", |
448 "//blimp/net:test_support", | 445 "//blimp/net:test_support", |
449 "//content", | 446 "//content", |
450 "//content/public/browser", | 447 "//content/public/browser", |
451 "//net", | 448 "//net", |
452 "//net:test_support", | 449 "//net:test_support", |
453 "//testing/gmock", | 450 "//testing/gmock", |
454 "//testing/gtest", | 451 "//testing/gtest", |
455 "//third_party/WebKit/public:blink_headers", | 452 "//third_party/WebKit/public:blink_headers", |
456 "//ui/base/ime", | 453 "//ui/base/ime", |
457 ] | 454 ] |
458 } | 455 } |
459 | 456 |
| 457 source_set("renderer_unit_tests") { |
| 458 testonly = true |
| 459 |
| 460 sources = [ |
| 461 "renderer/blob_channel_sender_proxy_unittest.cc", |
| 462 ] |
| 463 |
| 464 deps = [ |
| 465 ":renderer", |
| 466 "//blimp/net:test_support", |
| 467 "//mojo/public", |
| 468 "//testing/gmock", |
| 469 "//testing/gtest", |
| 470 ] |
| 471 } |
| 472 |
460 source_set("unit_tests") { | 473 source_set("unit_tests") { |
461 testonly = true | 474 testonly = true |
462 | 475 |
463 deps = [ | 476 deps = [ |
464 ":app_unit_tests", | 477 ":app_unit_tests", |
465 ":common_unit_tests", | 478 ":common_unit_tests", |
466 ":feature_unit_tests", | 479 ":feature_unit_tests", |
| 480 ":renderer_unit_tests", |
467 ] | 481 ] |
468 } | 482 } |
469 | 483 |
470 if (is_linux) { | 484 if (is_linux) { |
471 _runtime_deps = "$root_gen_dir/blimp-engine.runtime_deps" | 485 _runtime_deps = "$root_gen_dir/blimp-engine.runtime_deps" |
472 _rebased_runtime_deps = rebase_path(_runtime_deps, root_out_dir) | 486 _rebased_runtime_deps = rebase_path(_runtime_deps, root_out_dir) |
473 | 487 |
474 executable("blimp_engine_app") { | 488 executable("blimp_engine_app") { |
475 sources = [ | 489 sources = [ |
476 "app/blimp_main.cc", | 490 "app/blimp_main.cc", |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 # Include symupload target here as it is needed by the buildbots to upload | 622 # Include symupload target here as it is needed by the buildbots to upload |
609 # the symbol file created by dump_syms. | 623 # the symbol file created by dump_syms. |
610 deps = [ | 624 deps = [ |
611 ":blimp_engine_app", | 625 ":blimp_engine_app", |
612 "//breakpad:symupload", | 626 "//breakpad:symupload", |
613 dump_syms_label, | 627 dump_syms_label, |
614 ] | 628 ] |
615 } | 629 } |
616 } | 630 } |
617 } | 631 } |
OLD | NEW |