| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//components/sync/protocol/protocol_sources.gni") | 6 import("//components/sync/protocol/protocol_sources.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 component("sync") { | 9 component("sync") { |
| 10 public_deps = [ | 10 public_deps = [ |
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 | 602 |
| 603 defines = [ "SYNC_TEST" ] | 603 defines = [ "SYNC_TEST" ] |
| 604 | 604 |
| 605 public_deps = [ | 605 public_deps = [ |
| 606 "//base", | 606 "//base", |
| 607 "//components/sync", | 607 "//components/sync", |
| 608 "//testing/gmock", | 608 "//testing/gmock", |
| 609 ] | 609 ] |
| 610 } | 610 } |
| 611 | 611 |
| 612 # GYP version: sync/sync_tests.gypi:sync_unit_tests | 612 # TODO(maxbogue): Remove this dummy target once bots are updated. |
| 613 test("sync_unit_tests") { | 613 test("sync_unit_tests") { |
| 614 testonly = true |
| 615 sources = [ |
| 616 "base/immutable_unittest.cc", |
| 617 ] |
| 618 deps = [ |
| 619 ":sync", |
| 620 "//base", |
| 621 "//base/test:run_all_unittests", |
| 622 "//testing/gtest", |
| 623 ] |
| 624 } |
| 625 |
| 626 source_set("unit_tests") { |
| 627 testonly = true |
| 614 sources = [ | 628 sources = [ |
| 615 "api/attachments/attachment_id_unittest.cc", | 629 "api/attachments/attachment_id_unittest.cc", |
| 616 "api/attachments/attachment_metadata_unittest.cc", | 630 "api/attachments/attachment_metadata_unittest.cc", |
| 617 "api/attachments/attachment_unittest.cc", | 631 "api/attachments/attachment_unittest.cc", |
| 618 "api/entity_data_unittest.cc", | 632 "api/entity_data_unittest.cc", |
| 619 "api/model_type_service_unittest.cc", | 633 "api/model_type_service_unittest.cc", |
| 620 "api/sync_change_unittest.cc", | 634 "api/sync_change_unittest.cc", |
| 621 "api/sync_data_unittest.cc", | 635 "api/sync_data_unittest.cc", |
| 622 "api/sync_error_unittest.cc", | 636 "api/sync_error_unittest.cc", |
| 623 "api/sync_merge_result_unittest.cc", | 637 "api/sync_merge_result_unittest.cc", |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 705 "//third_party/pywebsocket/", | 719 "//third_party/pywebsocket/", |
| 706 "//third_party/tlslite/", | 720 "//third_party/tlslite/", |
| 707 "$root_out_dir/pyproto/google/", | 721 "$root_out_dir/pyproto/google/", |
| 708 ] | 722 ] |
| 709 | 723 |
| 710 deps = [ | 724 deps = [ |
| 711 ":test_support_sync_api", | 725 ":test_support_sync_api", |
| 712 ":test_support_sync_core", | 726 ":test_support_sync_core", |
| 713 ":test_support_sync_core_impl", | 727 ":test_support_sync_core_impl", |
| 714 "//base", | 728 "//base", |
| 715 "//base/test:run_all_unittests", | |
| 716 "//components/sync", | 729 "//components/sync", |
| 717 "//components/sync/protocol", | 730 "//components/sync/protocol", |
| 718 "//google_apis", | 731 "//google_apis", |
| 719 "//google_apis:test_support", | 732 "//google_apis:test_support", |
| 720 "//net", | 733 "//net", |
| 721 "//net:test_support", | 734 "//net:test_support", |
| 722 "//sql", | 735 "//sql", |
| 723 "//sql:test_support", | 736 "//sql:test_support", |
| 724 "//testing/gmock", | 737 "//testing/gmock", |
| 725 "//testing/gtest", | 738 "//testing/gtest", |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 890 ":fake_server_jni", | 903 ":fake_server_jni", |
| 891 ":sync_core", | 904 ":sync_core", |
| 892 ":test_support_sync_fake_server", | 905 ":test_support_sync_fake_server", |
| 893 "//base", | 906 "//base", |
| 894 "//components/sync/protocol:protocol", | 907 "//components/sync/protocol:protocol", |
| 895 "//testing/gtest", | 908 "//testing/gtest", |
| 896 "//url:url", | 909 "//url:url", |
| 897 ] | 910 ] |
| 898 } | 911 } |
| 899 } | 912 } |
| OLD | NEW |