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("//sync/protocol/protocol_sources.gni") | 6 import("//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 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 | 603 |
604 defines = [ "SYNC_TEST" ] | 604 defines = [ "SYNC_TEST" ] |
605 | 605 |
606 public_deps = [ | 606 public_deps = [ |
607 "//base", | 607 "//base", |
608 "//sync", | 608 "//sync", |
609 "//testing/gmock", | 609 "//testing/gmock", |
610 ] | 610 ] |
611 } | 611 } |
612 | 612 |
613 # TODO(GYP): Delete this after we've converted everything to GN. | |
614 # The _run targets exist only for compatibility w/ GYP. | |
615 group("sync_unit_tests_run") { | |
616 testonly = true | |
617 deps = [ | |
618 ":sync_unit_tests", | |
619 ] | |
620 } | |
621 | |
622 # GYP version: sync/sync_tests.gypi:sync_unit_tests | 613 # GYP version: sync/sync_tests.gypi:sync_unit_tests |
623 test("sync_unit_tests") { | 614 test("sync_unit_tests") { |
624 sources = [ | 615 sources = [ |
625 "api/attachments/attachment_id_unittest.cc", | 616 "api/attachments/attachment_id_unittest.cc", |
626 "api/attachments/attachment_metadata_unittest.cc", | 617 "api/attachments/attachment_metadata_unittest.cc", |
627 "api/attachments/attachment_unittest.cc", | 618 "api/attachments/attachment_unittest.cc", |
628 "api/entity_data_unittest.cc", | 619 "api/entity_data_unittest.cc", |
629 "api/sync_change_unittest.cc", | 620 "api/sync_change_unittest.cc", |
630 "api/sync_data_unittest.cc", | 621 "api/sync_data_unittest.cc", |
631 "api/sync_error_unittest.cc", | 622 "api/sync_error_unittest.cc", |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 ":fake_server_jni", | 890 ":fake_server_jni", |
900 ":sync_core", | 891 ":sync_core", |
901 ":test_support_sync_fake_server", | 892 ":test_support_sync_fake_server", |
902 "//base", | 893 "//base", |
903 "//sync/protocol:protocol", | 894 "//sync/protocol:protocol", |
904 "//testing/gtest", | 895 "//testing/gtest", |
905 "//url:url", | 896 "//url:url", |
906 ] | 897 ] |
907 } | 898 } |
908 } | 899 } |
OLD | NEW |