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 314 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 |