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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 "//sync/internal_api/attachments/proto", | 427 "//sync/internal_api/attachments/proto", |
428 ] | 428 ] |
429 deps = [ | 429 deps = [ |
430 "//base", | 430 "//base", |
431 "//base:i18n", | 431 "//base:i18n", |
432 "//base/third_party/dynamic_annotations", | 432 "//base/third_party/dynamic_annotations", |
433 "//crypto", | 433 "//crypto", |
434 "//google_apis", | 434 "//google_apis", |
435 "//net", | 435 "//net", |
436 "//sql", | 436 "//sql", |
| 437 "//sync/protocol", |
437 "//third_party/leveldatabase", | 438 "//third_party/leveldatabase", |
438 "//third_party/zlib", | 439 "//third_party/zlib", |
439 "//url", | 440 "//url", |
440 "//sync/protocol", | |
441 ] | 441 ] |
442 | 442 |
443 if (is_android) { | 443 if (is_android) { |
444 deps += [ "//sync/android:jni_headers" ] | 444 deps += [ "//sync/android:jni_headers" ] |
445 sources += [ | 445 sources += [ |
446 "android/model_type_helper.cc", | 446 "android/model_type_helper.cc", |
447 "android/model_type_helper.h", | 447 "android/model_type_helper.h", |
448 "android/sync_jni_registrar.cc", | 448 "android/sync_jni_registrar.cc", |
449 "android/sync_jni_registrar.h", | 449 "android/sync_jni_registrar.h", |
450 ] | 450 ] |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 "test/trackable_mock_invalidation.cc", | 522 "test/trackable_mock_invalidation.cc", |
523 "test/trackable_mock_invalidation.h", | 523 "test/trackable_mock_invalidation.h", |
524 "util/mock_unrecoverable_error_handler.cc", | 524 "util/mock_unrecoverable_error_handler.cc", |
525 "util/mock_unrecoverable_error_handler.h", | 525 "util/mock_unrecoverable_error_handler.h", |
526 "util/test_unrecoverable_error_handler.cc", | 526 "util/test_unrecoverable_error_handler.cc", |
527 "util/test_unrecoverable_error_handler.h", | 527 "util/test_unrecoverable_error_handler.h", |
528 ] | 528 ] |
529 | 529 |
530 public_deps = [ | 530 public_deps = [ |
531 "//base", | 531 "//base", |
| 532 "//sync", |
532 "//testing/gmock", | 533 "//testing/gmock", |
533 "//testing/gtest", | 534 "//testing/gtest", |
534 "//sync", | |
535 ] | 535 ] |
536 | 536 |
537 defines = [ "SYNC_TEST" ] | 537 defines = [ "SYNC_TEST" ] |
538 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 538 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
539 } | 539 } |
540 | 540 |
541 # GYP version: sync/sync_tests.gypi:test_support_sync_internal_api | 541 # GYP version: sync/sync_tests.gypi:test_support_sync_internal_api |
542 static_library("test_support_sync_internal_api") { | 542 static_library("test_support_sync_internal_api") { |
543 testonly = true | 543 testonly = true |
544 sources = [ | 544 sources = [ |
545 "internal_api/public/test/fake_sync_manager.h", | 545 "internal_api/public/test/fake_sync_manager.h", |
546 "internal_api/public/test/null_sync_context_proxy.h", | 546 "internal_api/public/test/null_sync_context_proxy.h", |
547 "internal_api/public/test/sync_manager_factory_for_profile_sync_test.h", | 547 "internal_api/public/test/sync_manager_factory_for_profile_sync_test.h", |
548 "internal_api/public/test/test_entry_factory.h", | 548 "internal_api/public/test/test_entry_factory.h", |
549 "internal_api/public/test/test_internal_components_factory.h", | 549 "internal_api/public/test/test_internal_components_factory.h", |
550 "internal_api/public/test/test_user_share.h", | 550 "internal_api/public/test/test_user_share.h", |
551 "internal_api/test/fake_sync_manager.cc", | 551 "internal_api/test/fake_sync_manager.cc", |
552 "internal_api/test/null_sync_context_proxy.cc", | 552 "internal_api/test/null_sync_context_proxy.cc", |
553 "internal_api/test/sync_manager_factory_for_profile_sync_test.cc", | 553 "internal_api/test/sync_manager_factory_for_profile_sync_test.cc", |
554 "internal_api/test/sync_manager_for_profile_sync_test.cc", | 554 "internal_api/test/sync_manager_for_profile_sync_test.cc", |
555 "internal_api/test/sync_manager_for_profile_sync_test.h", | 555 "internal_api/test/sync_manager_for_profile_sync_test.h", |
556 "internal_api/test/test_entry_factory.cc", | 556 "internal_api/test/test_entry_factory.cc", |
557 "internal_api/test/test_internal_components_factory.cc", | 557 "internal_api/test/test_internal_components_factory.cc", |
558 "internal_api/test/test_user_share.cc", | 558 "internal_api/test/test_user_share.cc", |
559 ] | 559 ] |
560 | 560 |
561 public_deps = [ | 561 public_deps = [ |
| 562 ":test_support_sync_core", |
562 "//base", | 563 "//base", |
| 564 "//sync", |
563 "//testing/gtest", | 565 "//testing/gtest", |
564 "//sync", | |
565 ":test_support_sync_core", | |
566 ] | 566 ] |
567 | 567 |
568 defines = [ "SYNC_TEST" ] | 568 defines = [ "SYNC_TEST" ] |
569 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 569 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
570 } | 570 } |
571 | 571 |
572 # GYP version: sync/sync_tests.gypi:test_support_sync_api | 572 # GYP version: sync/sync_tests.gypi:test_support_sync_api |
573 static_library("test_support_sync_api") { | 573 static_library("test_support_sync_api") { |
574 testonly = true | 574 testonly = true |
575 sources = [ | 575 sources = [ |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 "test/fake_server/sessions_hierarchy.h", | 765 "test/fake_server/sessions_hierarchy.h", |
766 "test/fake_server/tombstone_entity.cc", | 766 "test/fake_server/tombstone_entity.cc", |
767 "test/fake_server/tombstone_entity.h", | 767 "test/fake_server/tombstone_entity.h", |
768 "test/fake_server/unique_client_entity.cc", | 768 "test/fake_server/unique_client_entity.cc", |
769 "test/fake_server/unique_client_entity.h", | 769 "test/fake_server/unique_client_entity.h", |
770 ] | 770 ] |
771 | 771 |
772 deps = [ | 772 deps = [ |
773 "//base", | 773 "//base", |
774 "//net", | 774 "//net", |
| 775 "//sync", |
775 "//testing/gtest", | 776 "//testing/gtest", |
776 "//sync", | |
777 "//url", | 777 "//url", |
778 ] | 778 ] |
779 | 779 |
780 public_deps = [ | 780 public_deps = [ |
781 "//third_party/protobuf:protobuf_lite", | 781 "//third_party/protobuf:protobuf_lite", |
782 ] | 782 ] |
783 | 783 |
784 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 784 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
785 } | 785 } |
786 | 786 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 jni_package = "sync/test/fake_server" | 833 jni_package = "sync/test/fake_server" |
834 sources = [ | 834 sources = [ |
835 "//chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/syn
c/FakeServerHelper.java", | 835 "//chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/syn
c/FakeServerHelper.java", |
836 ] | 836 ] |
837 } | 837 } |
838 | 838 |
839 # GYP: //sync/sync_tests.gypi:sync_java_test_support | 839 # GYP: //sync/sync_tests.gypi:sync_java_test_support |
840 android_library("sync_java_test_support") { | 840 android_library("sync_java_test_support") { |
841 testonly = true | 841 testonly = true |
842 deps = [ | 842 deps = [ |
843 "android:sync_java", | |
844 "//base:base_java", | 843 "//base:base_java", |
845 "//base:base_java_test_support", | 844 "//base:base_java_test_support", |
846 "//third_party/jsr-305:jsr_305_javalib", | 845 "//third_party/jsr-305:jsr_305_javalib", |
| 846 "android:sync_java", |
847 ] | 847 ] |
848 DEPRECATED_java_in_dir = "test/android/javatests/src" | 848 DEPRECATED_java_in_dir = "test/android/javatests/src" |
849 } | 849 } |
850 | 850 |
851 # GYP: //sync/sync_tests.gypi:test_support_sync_fake_server_android | 851 # GYP: //sync/sync_tests.gypi:test_support_sync_fake_server_android |
852 static_library("test_support_sync_fake_server_android") { | 852 static_library("test_support_sync_fake_server_android") { |
853 testonly = true | 853 testonly = true |
854 sources = [ | 854 sources = [ |
855 "test/fake_server/android/fake_server_helper_android.cc", | 855 "test/fake_server/android/fake_server_helper_android.cc", |
856 "test/fake_server/android/fake_server_helper_android.h", | 856 "test/fake_server/android/fake_server_helper_android.h", |
857 ] | 857 ] |
858 deps = [ | 858 deps = [ |
859 ":fake_server_jni", | 859 ":fake_server_jni", |
860 ":sync_core", | 860 ":sync_core", |
861 ":test_support_sync_fake_server", | 861 ":test_support_sync_fake_server", |
862 "//base", | 862 "//base", |
863 "//sync/protocol:protocol", | 863 "//sync/protocol:protocol", |
864 "//testing/gtest", | 864 "//testing/gtest", |
865 "//url:url", | 865 "//url:url", |
866 ] | 866 ] |
867 } | 867 } |
868 } | 868 } |
OLD | NEW |