| 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 source_set("unit_tests") { | 612 # GYP version: sync/sync_tests.gypi:sync_unit_tests |
| 613 testonly = true | 613 test("sync_unit_tests") { |
| 614 sources = [ | 614 sources = [ |
| 615 "api/attachments/attachment_id_unittest.cc", | 615 "api/attachments/attachment_id_unittest.cc", |
| 616 "api/attachments/attachment_metadata_unittest.cc", | 616 "api/attachments/attachment_metadata_unittest.cc", |
| 617 "api/attachments/attachment_unittest.cc", | 617 "api/attachments/attachment_unittest.cc", |
| 618 "api/entity_data_unittest.cc", | 618 "api/entity_data_unittest.cc", |
| 619 "api/model_type_service_unittest.cc", | 619 "api/model_type_service_unittest.cc", |
| 620 "api/sync_change_unittest.cc", | 620 "api/sync_change_unittest.cc", |
| 621 "api/sync_data_unittest.cc", | 621 "api/sync_data_unittest.cc", |
| 622 "api/sync_error_unittest.cc", | 622 "api/sync_error_unittest.cc", |
| 623 "api/sync_merge_result_unittest.cc", | 623 "api/sync_merge_result_unittest.cc", |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 705 "//third_party/pywebsocket/", | 705 "//third_party/pywebsocket/", |
| 706 "//third_party/tlslite/", | 706 "//third_party/tlslite/", |
| 707 "$root_out_dir/pyproto/google/", | 707 "$root_out_dir/pyproto/google/", |
| 708 ] | 708 ] |
| 709 | 709 |
| 710 deps = [ | 710 deps = [ |
| 711 ":test_support_sync_api", | 711 ":test_support_sync_api", |
| 712 ":test_support_sync_core", | 712 ":test_support_sync_core", |
| 713 ":test_support_sync_core_impl", | 713 ":test_support_sync_core_impl", |
| 714 "//base", | 714 "//base", |
| 715 "//base/test:run_all_unittests", |
| 715 "//components/sync", | 716 "//components/sync", |
| 716 "//components/sync/protocol", | 717 "//components/sync/protocol", |
| 717 "//google_apis", | 718 "//google_apis", |
| 718 "//google_apis:test_support", | 719 "//google_apis:test_support", |
| 719 "//net", | 720 "//net", |
| 720 "//net:test_support", | 721 "//net:test_support", |
| 721 "//sql", | 722 "//sql", |
| 722 "//sql:test_support", | 723 "//sql:test_support", |
| 723 "//testing/gmock", | 724 "//testing/gmock", |
| 724 "//testing/gtest", | 725 "//testing/gtest", |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 889 ":fake_server_jni", | 890 ":fake_server_jni", |
| 890 ":sync_core", | 891 ":sync_core", |
| 891 ":test_support_sync_fake_server", | 892 ":test_support_sync_fake_server", |
| 892 "//base", | 893 "//base", |
| 893 "//components/sync/protocol:protocol", | 894 "//components/sync/protocol:protocol", |
| 894 "//testing/gtest", | 895 "//testing/gtest", |
| 895 "//url:url", | 896 "//url:url", |
| 896 ] | 897 ] |
| 897 } | 898 } |
| 898 } | 899 } |
| OLD | NEW |