Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Side by Side Diff: sync/BUILD.gn

Issue 774353003: gn format // (the rest) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase net Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « skia/BUILD.gn ('k') | sync/internal_api/attachments/proto/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 6
7 component("sync") { 7 component("sync") {
8 public_deps = [ 8 public_deps = [
9 ":sync_core", 9 ":sync_core",
10 "//sync/protocol", 10 "//sync/protocol",
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 "//sql", 407 "//sql",
408 "//third_party/leveldatabase", 408 "//third_party/leveldatabase",
409 "//third_party/zlib", 409 "//third_party/zlib",
410 "//url", 410 "//url",
411 "//sync/internal_api/attachments/proto", 411 "//sync/internal_api/attachments/proto",
412 "//sync/protocol", 412 "//sync/protocol",
413 ] 413 ]
414 414
415 if (is_chromeos) { 415 if (is_chromeos) {
416 # Required by get_session_name.cc on Chrome OS. 416 # Required by get_session_name.cc on Chrome OS.
417 deps += [ 417 deps += [ "//chromeos" ]
418 "//chromeos"
419 ]
420 } 418 }
421 419
422 defines = [ "SYNC_IMPLEMENTATION" ] 420 defines = [ "SYNC_IMPLEMENTATION" ]
423 configs += [ "//build/config/compiler:wexit_time_destructors" ] 421 configs += [ "//build/config/compiler:wexit_time_destructors" ]
424 } 422 }
425 423
426 # GYP version: sync/sync_tests.gypi:test_support_sync_core 424 # GYP version: sync/sync_tests.gypi:test_support_sync_core
427 static_library("test_support_sync_core") { 425 static_library("test_support_sync_core") {
428 testonly = true 426 testonly = true
429 sources = [ 427 sources = [
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 647
650 # TODO(GYP) 648 # TODO(GYP)
651 # ['OS == "android"', { 649 # ['OS == "android"', {
652 # 'dependencies': [ 650 # 'dependencies': [
653 # '../testing/android/native_test.gyp:native_test_native_code', 651 # '../testing/android/native_test.gyp:native_test_native_code',
654 # ], 652 # ],
655 # }], 653 # }],
656 654
657 if (is_chromeos) { 655 if (is_chromeos) {
658 # Required by get_session_name_unittest.cc on Chrome OS. 656 # Required by get_session_name_unittest.cc on Chrome OS.
659 deps += [ 657 deps += [ "//chromeos" ]
660 "//chromeos"
661 ]
662 } 658 }
663 659
664 if (is_ios) { 660 if (is_ios) {
665 sources -= [ "internal_api/http_bridge_unittest.cc" ] 661 sources -= [ "internal_api/http_bridge_unittest.cc" ]
666 } 662 }
667 663
668 defines = [ "SYNC_TEST" ] 664 defines = [ "SYNC_TEST" ]
669 } 665 }
670 666
671 # GYP version: sync/sync_tests.gypi:test_support_sync_fake_server 667 # GYP version: sync/sync_tests.gypi:test_support_sync_fake_server
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 ] 716 ]
721 717
722 configs += [ "//build/config/compiler:wexit_time_destructors" ] 718 configs += [ "//build/config/compiler:wexit_time_destructors" ]
723 719
724 public_deps = [ 720 public_deps = [
725 "//base", 721 "//base",
726 "//net:test_support", 722 "//net:test_support",
727 ] 723 ]
728 deps = [ 724 deps = [
729 ":sync", 725 ":sync",
730
731 # The sync test server uses Python modules generated by the sync protos. 726 # The sync test server uses Python modules generated by the sync protos.
732 # '../third_party/protobuf/protobuf.gyp:py_proto', # TODO(GYP) 727 # '../third_party/protobuf/protobuf.gyp:py_proto', # TODO(GYP)
733 ] 728 ]
734 } 729 }
735 730
736 # GYP version: sync/sync_tests.gypi:test_support_accounts_client 731 # GYP version: sync/sync_tests.gypi:test_support_accounts_client
737 static_library("test_support_accounts_client") { 732 static_library("test_support_accounts_client") {
738 testonly = true 733 testonly = true
739 sources = [ 734 sources = [
740 "test/accounts_client/test_accounts_client.cc", 735 "test/accounts_client/test_accounts_client.cc",
(...skipping 18 matching lines...) Expand all
759 "//testing/gtest", 754 "//testing/gtest",
760 "//url", 755 "//url",
761 ":test_support_accounts_client", 756 ":test_support_accounts_client",
762 ] 757 ]
763 } 758 }
764 759
765 if (!is_ios) { 760 if (!is_ios) {
766 # GYP version: sync/sync_tests.gypi:run_sync_testserver 761 # GYP version: sync/sync_tests.gypi:run_sync_testserver
767 executable("run_sync_testserver") { 762 executable("run_sync_testserver") {
768 testonly = true 763 testonly = true
769 sources = [ "tools/testserver/run_sync_testserver.cc" ] 764 sources = [
765 "tools/testserver/run_sync_testserver.cc",
766 ]
770 767
771 deps = [ 768 deps = [
772 "//base", 769 "//base",
773 "//base/test:test_support", 770 "//base/test:test_support",
774 "//net:test_support", 771 "//net:test_support",
775 "//testing/gtest", 772 "//testing/gtest",
776 ":test_support_sync_testserver", 773 ":test_support_sync_testserver",
777 ] 774 ]
778 } 775 }
779 } 776 }
780 777
781 if (is_android) { 778 if (is_android) {
782 import("//build/config/android/rules.gni") 779 import("//build/config/android/rules.gni")
783 780
784 # GYP: //sync/sync_tests.gypi:fake_server_jni 781 # GYP: //sync/sync_tests.gypi:fake_server_jni
785 generate_jni("fake_server_jni") { 782 generate_jni("fake_server_jni") {
786 testonly = true 783 testonly = true
787 jni_package = "sync/test/fake_server" 784 jni_package = "sync/test/fake_server"
788 sources = [ 785 sources = [
789 "//chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/Fa keServerHelper.java" 786 "//chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/Fa keServerHelper.java",
790 ] 787 ]
791 } 788 }
792 789
793 # GYP: //sync/sync_tests.gypi:sync_java_test_support 790 # GYP: //sync/sync_tests.gypi:sync_java_test_support
794 android_library("sync_java_test_support") { 791 android_library("sync_java_test_support") {
795 testonly = true 792 testonly = true
796 deps = [ 793 deps = [
797 "android:sync_java", 794 "android:sync_java",
798 "//base:base_java", 795 "//base:base_java",
799 "//base:base_java_test_support", 796 "//base:base_java_test_support",
(...skipping 12 matching lines...) Expand all
812 deps = [ 809 deps = [
813 ":fake_server_jni", 810 ":fake_server_jni",
814 ":test_support_sync_fake_server", 811 ":test_support_sync_fake_server",
815 "//base", 812 "//base",
816 ] 813 ]
817 } 814 }
818 815
819 # GYP: //sync/sync_tests.gypi:sync_unit_tests_apk 816 # GYP: //sync/sync_tests.gypi:sync_unit_tests_apk
820 unittest_apk("sync_unit_tests_apk") { 817 unittest_apk("sync_unit_tests_apk") {
821 unittests_dep = ":sync_unit_tests" 818 unittests_dep = ":sync_unit_tests"
822 deps = [ 819 deps = [
823 ":sync_unit_tests", 820 ":sync_unit_tests",
824 ] 821 ]
825 } 822 }
826 } 823 }
OLDNEW
« no previous file with comments | « skia/BUILD.gn ('k') | sync/internal_api/attachments/proto/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698