| 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("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 component("sync") { | 8 component("sync") { |
| 9 public_deps = [ | 9 public_deps = [ |
| 10 ":sync_core", | 10 ":sync_core", |
| (...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 736 "//base", | 736 "//base", |
| 737 "//net:test_support", | 737 "//net:test_support", |
| 738 ] | 738 ] |
| 739 deps = [ | 739 deps = [ |
| 740 ":sync", | 740 ":sync", |
| 741 # The sync test server uses Python modules generated by the sync protos. | 741 # The sync test server uses Python modules generated by the sync protos. |
| 742 # '../third_party/protobuf/protobuf.gyp:py_proto', # TODO(GYP) | 742 # '../third_party/protobuf/protobuf.gyp:py_proto', # TODO(GYP) |
| 743 ] | 743 ] |
| 744 } | 744 } |
| 745 | 745 |
| 746 # GYP version: sync/sync_tests.gypi:test_support_accounts_client | |
| 747 static_library("test_support_accounts_client") { | |
| 748 testonly = true | |
| 749 sources = [ | |
| 750 "test/accounts_client/test_accounts_client.cc", | |
| 751 "test/accounts_client/test_accounts_client.h", | |
| 752 "test/accounts_client/url_request_context_getter.cc", | |
| 753 "test/accounts_client/url_request_context_getter.h", | |
| 754 ] | |
| 755 deps = [ | |
| 756 "//base", | |
| 757 "//net", | |
| 758 "//url", | |
| 759 ] | |
| 760 } | |
| 761 | |
| 762 # GYP version: sync/sync_tests.gypi:sync_endtoend_tests | |
| 763 test("sync_endtoend_tests") { | |
| 764 sources = [ | |
| 765 "test/accounts_client/test_accounts_client_unittest.cc", | |
| 766 ] | |
| 767 deps = [ | |
| 768 "//base", | |
| 769 "//base/test:run_all_unittests", | |
| 770 "//testing/gmock", | |
| 771 "//testing/gtest", | |
| 772 "//url", | |
| 773 ":test_support_accounts_client", | |
| 774 ] | |
| 775 } | |
| 776 | |
| 777 if (!is_ios) { | 746 if (!is_ios) { |
| 778 # GYP version: sync/sync_tests.gypi:run_sync_testserver | 747 # GYP version: sync/sync_tests.gypi:run_sync_testserver |
| 779 executable("run_sync_testserver") { | 748 executable("run_sync_testserver") { |
| 780 testonly = true | 749 testonly = true |
| 781 sources = [ | 750 sources = [ |
| 782 "tools/testserver/run_sync_testserver.cc", | 751 "tools/testserver/run_sync_testserver.cc", |
| 783 ] | 752 ] |
| 784 | 753 |
| 785 deps = [ | 754 deps = [ |
| 786 "//base", | 755 "//base", |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 827 ":fake_server_jni", | 796 ":fake_server_jni", |
| 828 ":sync_core", | 797 ":sync_core", |
| 829 ":test_support_sync_fake_server", | 798 ":test_support_sync_fake_server", |
| 830 "//base", | 799 "//base", |
| 831 "//sync/protocol:protocol", | 800 "//sync/protocol:protocol", |
| 832 "//testing/gtest", | 801 "//testing/gtest", |
| 833 "//url:url", | 802 "//url:url", |
| 834 ] | 803 ] |
| 835 } | 804 } |
| 836 } | 805 } |
| OLD | NEW |