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

Side by Side Diff: sync/BUILD.gn

Issue 570203002: Make chrome_shell_apk build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-chrome-jamesr
Patch Set: Created 6 years, 3 months 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
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 deps = [ 8 deps = [
9 ":sync_core", 9 ":sync_core",
10 "//sync/protocol", 10 "//sync/protocol",
(...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 ] 701 ]
702 702
703 deps = [ 703 deps = [
704 "//base", 704 "//base",
705 "//net", 705 "//net",
706 "//testing/gtest", 706 "//testing/gtest",
707 "//third_party/protobuf:protobuf_lite", 707 "//third_party/protobuf:protobuf_lite",
708 "//sync", 708 "//sync",
709 ] 709 ]
710 710
711 forward_dependent_configs_from = [ "//third_party/protobuf:protobuf_lite" ]
712
711 configs += [ "//build/config/compiler:wexit_time_destructors" ] 713 configs += [ "//build/config/compiler:wexit_time_destructors" ]
712 } 714 }
713 715
714 # GYP version: sync/sync_tests.gypi:test_support_sync_testserver 716 # GYP version: sync/sync_tests.gypi:test_support_sync_testserver
715 static_library("test_support_sync_testserver") { 717 static_library("test_support_sync_testserver") {
716 testonly = true 718 testonly = true
717 sources = [ 719 sources = [
718 "test/local_sync_test_server.cc", 720 "test/local_sync_test_server.cc",
719 "test/local_sync_test_server.h", 721 "test/local_sync_test_server.h",
720 ] 722 ]
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 deps = [ 773 deps = [
772 "//base", 774 "//base",
773 "//base/test:test_support", 775 "//base/test:test_support",
774 "//net:test_support", 776 "//net:test_support",
775 "//testing/gtest", 777 "//testing/gtest",
776 ":test_support_sync_testserver", 778 ":test_support_sync_testserver",
777 ] 779 ]
778 } 780 }
779 } 781 }
780 782
781 #TODO(GYP): Need to port sync_android.gypi and Android test targets. 783 if (is_android) {
784 import("//build/config/android/rules.gni")
785
786 # GYP: //sync/sync_tests.gypi:fake_server_jni
787 generate_jni("fake_server_jni") {
788 testonly = true
789 jni_package = "sync/test/fake_server"
790 sources = [
791 "//chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/Fa keServerHelper.java"
792 ]
793 }
794
795 # GYP: //sync/sync_tests.gypi:sync_java_test_support
796 android_library("sync_java_test_support") {
797 testonly = true
798 deps = [
799 "android:sync_java",
800 "//base:base_java",
801 "//base:base_java_test_support",
802 "//third_party/jsr-305:jsr_305_javalib",
803 ]
804 DEPRECATED_java_in_dir = "test/android/javatests/src"
805 }
806
807 # GYP: //sync/sync_tests.gypi:test_support_sync_fake_server_android
808 static_library("test_support_sync_fake_server_android") {
809 testonly = true
810 deps = [
811 ":fake_server_jni",
812 ":test_support_sync_fake_server",
813 "//base",
814 ]
815 sources = [
816 "test/fake_server/android/fake_server_helper_android.cc",
817 "test/fake_server/android/fake_server_helper_android.h",
818 ]
819 }
820
821 # GYP: //sync/sync_tests.gypi:sync_unit_tests_apk
822 unittest_apk("sync_unit_tests_apk") {
823 unittests_dep = ":sync_unit_tests"
824 deps = [
825 ":sync_unit_tests",
826 ]
827 }
828 }
OLDNEW
« chrome/android/BUILD.gn ('K') | « printing/printing.gyp ('k') | sync/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698