| 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 ] | 459 ] |
| 460 | 460 |
| 461 deps = [ | 461 deps = [ |
| 462 ":app", | 462 ":app", |
| 463 ":feature", | 463 ":feature", |
| 464 "//base", | 464 "//base", |
| 465 "//testing/gmock", | 465 "//testing/gmock", |
| 466 ] | 466 ] |
| 467 } | 467 } |
| 468 | 468 |
| 469 source_set("testing_app") { |
| 470 testonly = true |
| 471 |
| 472 sources = [ |
| 473 "testing/app/blimp_url_rewriter.cc", |
| 474 "testing/app/blimp_url_rewriter.h", |
| 475 "testing/app/test_blimp_browser_main_parts.cc", |
| 476 "testing/app/test_blimp_browser_main_parts.h", |
| 477 "testing/app/test_blimp_content_browser_client.cc", |
| 478 "testing/app/test_blimp_content_browser_client.h", |
| 479 "testing/app/test_blimp_content_main_delegate.cc", |
| 480 "testing/app/test_blimp_content_main_delegate.h", |
| 481 "testing/session/test_blimp_engine_session.cc", |
| 482 "testing/session/test_blimp_engine_session.h", |
| 483 ] |
| 484 |
| 485 deps = [ |
| 486 ":app", |
| 487 ":app_config", |
| 488 ":feature", |
| 489 ":pak", |
| 490 ":session", |
| 491 ":test_support", |
| 492 "//base", |
| 493 "//blimp/net", |
| 494 "//content/public/app:both", |
| 495 "//content/public/browser", |
| 496 "//content/public/common", |
| 497 "//content/public/common:service_names", |
| 498 "//content/test:test_support", |
| 499 "//net:test_support", |
| 500 "//testing/gtest", |
| 501 ] |
| 502 } |
| 503 |
| 469 source_set("app_unit_tests") { | 504 source_set("app_unit_tests") { |
| 470 testonly = true | 505 testonly = true |
| 471 | 506 |
| 472 sources = [ | 507 sources = [ |
| 473 "app/blimp_engine_config_unittest.cc", | 508 "app/blimp_engine_config_unittest.cc", |
| 474 "app/blimp_metrics_service_client_unittest.cc", | 509 "app/blimp_metrics_service_client_unittest.cc", |
| 475 "app/blimp_stability_metrics_provider_unittest.cc", | 510 "app/blimp_stability_metrics_provider_unittest.cc", |
| 476 "app/blimp_system_url_request_context_getter_unittest.cc", | 511 "app/blimp_system_url_request_context_getter_unittest.cc", |
| 477 "app/settings_manager_unittest.cc", | 512 "app/settings_manager_unittest.cc", |
| 478 "app/ui/blimp_screen_unittest.cc", | 513 "app/ui/blimp_screen_unittest.cc", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 495 "//components/prefs:test_support", | 530 "//components/prefs:test_support", |
| 496 "//content/test:test_support", | 531 "//content/test:test_support", |
| 497 "//net:test_support", | 532 "//net:test_support", |
| 498 "//testing/gmock", | 533 "//testing/gmock", |
| 499 "//testing/gtest", | 534 "//testing/gtest", |
| 500 "//ui/display", | 535 "//ui/display", |
| 501 "//ui/gfx:test_support", | 536 "//ui/gfx:test_support", |
| 502 ] | 537 ] |
| 503 } | 538 } |
| 504 | 539 |
| 540 source_set("testing_app_unit_tests") { |
| 541 testonly = true |
| 542 |
| 543 sources = [ |
| 544 "testing/app/blimp_url_rewriter_unittest.cc", |
| 545 ] |
| 546 |
| 547 deps = [ |
| 548 ":app", |
| 549 ":feature", |
| 550 ":session", |
| 551 ":test_support", |
| 552 ":testing_app", |
| 553 "//base", |
| 554 "//content/public/app:both", |
| 555 "//content/public/browser", |
| 556 "//content/test:browsertest_support", |
| 557 "//content/test:test_support", |
| 558 "//net:test_support", |
| 559 "//testing/gtest", |
| 560 ] |
| 561 } |
| 562 |
| 505 source_set("common_unit_tests") { | 563 source_set("common_unit_tests") { |
| 506 testonly = true | 564 testonly = true |
| 507 | 565 |
| 508 sources = [ | 566 sources = [ |
| 509 "common/blimp_browser_context_unittest.cc", | 567 "common/blimp_browser_context_unittest.cc", |
| 510 ] | 568 ] |
| 511 | 569 |
| 512 deps = [ | 570 deps = [ |
| 513 ":common", | 571 ":common", |
| 514 "//base", | 572 "//base", |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 source_set("unit_tests") { | 660 source_set("unit_tests") { |
| 603 testonly = true | 661 testonly = true |
| 604 | 662 |
| 605 deps = [ | 663 deps = [ |
| 606 ":app_unit_tests", | 664 ":app_unit_tests", |
| 607 ":common_unit_tests", | 665 ":common_unit_tests", |
| 608 ":feature_unit_tests", | 666 ":feature_unit_tests", |
| 609 ":font_data_fetcher_unit_tests", | 667 ":font_data_fetcher_unit_tests", |
| 610 ":mojo_unit_tests", | 668 ":mojo_unit_tests", |
| 611 ":renderer_unit_tests", | 669 ":renderer_unit_tests", |
| 670 ":testing_app_unit_tests", |
| 612 ] | 671 ] |
| 613 } | 672 } |
| 614 | 673 |
| 615 if (is_linux) { | 674 if (is_linux) { |
| 616 _runtime_deps = "$root_gen_dir/blimp-engine.runtime_deps" | 675 _runtime_deps = "$root_gen_dir/blimp-engine.runtime_deps" |
| 617 _rebased_runtime_deps = rebase_path(_runtime_deps, root_out_dir) | 676 _rebased_runtime_deps = rebase_path(_runtime_deps, root_out_dir) |
| 618 | 677 |
| 678 executable("blimp_engine_testing_app") { |
| 679 testonly = true |
| 680 |
| 681 sources = [ |
| 682 "testing/app/test_blimp_main.cc", |
| 683 ] |
| 684 |
| 685 deps = [ |
| 686 ":app", |
| 687 ":app_config", |
| 688 ":pak", |
| 689 ":session", |
| 690 ":testing_app", |
| 691 "//base", |
| 692 "//blimp/net", |
| 693 "//content/public/app:both", |
| 694 "//content/public/browser", |
| 695 "//content/public/common", |
| 696 "//content/test:test_support", |
| 697 "//net:test_support", |
| 698 ] |
| 699 |
| 700 data_deps = [ |
| 701 ":pak", |
| 702 "//sandbox/linux:chrome_sandbox", |
| 703 "//third_party/blimp_fonts", |
| 704 ] |
| 705 |
| 706 configs += [ "//content:content_implementation" ] |
| 707 } |
| 708 |
| 709 group("engine_for_test") { |
| 710 testonly = true |
| 711 public_deps = [ |
| 712 ":blimp_engine_testing_app", |
| 713 ] |
| 714 } |
| 715 |
| 619 executable("blimp_engine_app") { | 716 executable("blimp_engine_app") { |
| 620 sources = [ | 717 sources = [ |
| 621 "app/blimp_main.cc", | 718 "app/blimp_main.cc", |
| 622 ] | 719 ] |
| 623 | 720 |
| 624 deps = [ | 721 deps = [ |
| 625 ":app", | 722 ":app", |
| 626 ":app_config", | 723 ":app_config", |
| 627 ":pak", | 724 ":pak", |
| 628 "//base", | 725 "//base", |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 817 "//ui/events", | 914 "//ui/events", |
| 818 "//ui/gfx/geometry", | 915 "//ui/gfx/geometry", |
| 819 "//url", | 916 "//url", |
| 820 ] | 917 ] |
| 821 | 918 |
| 822 data = [ | 919 data = [ |
| 823 "//blimp/test/data/", | 920 "//blimp/test/data/", |
| 824 "$root_out_dir/blimp_engine.pak", | 921 "$root_out_dir/blimp_engine.pak", |
| 825 ] | 922 ] |
| 826 } | 923 } |
| OLD | NEW |