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

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: Rebase add chrome_version_java/page_connection_info_javagen Created 6 years, 2 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
« no previous file with comments | « printing/printing.gyp ('k') | sync/android/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 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 ] 687 ]
688 688
689 deps = [ 689 deps = [
690 "//base", 690 "//base",
691 "//net", 691 "//net",
692 "//testing/gtest", 692 "//testing/gtest",
693 "//third_party/protobuf:protobuf_lite", 693 "//third_party/protobuf:protobuf_lite",
694 "//sync", 694 "//sync",
695 ] 695 ]
696 696
697 forward_dependent_configs_from = [ "//third_party/protobuf:protobuf_lite" ]
698
697 configs += [ "//build/config/compiler:wexit_time_destructors" ] 699 configs += [ "//build/config/compiler:wexit_time_destructors" ]
698 } 700 }
699 701
700 # GYP version: sync/sync_tests.gypi:test_support_sync_testserver 702 # GYP version: sync/sync_tests.gypi:test_support_sync_testserver
701 static_library("test_support_sync_testserver") { 703 static_library("test_support_sync_testserver") {
702 testonly = true 704 testonly = true
703 sources = [ 705 sources = [
704 "test/local_sync_test_server.cc", 706 "test/local_sync_test_server.cc",
705 "test/local_sync_test_server.h", 707 "test/local_sync_test_server.h",
706 ] 708 ]
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 deps = [ 759 deps = [
758 "//base", 760 "//base",
759 "//base/test:test_support", 761 "//base/test:test_support",
760 "//net:test_support", 762 "//net:test_support",
761 "//testing/gtest", 763 "//testing/gtest",
762 ":test_support_sync_testserver", 764 ":test_support_sync_testserver",
763 ] 765 ]
764 } 766 }
765 } 767 }
766 768
767 #TODO(GYP): Need to port sync_android.gypi and Android test targets. 769 if (is_android) {
770 import("//build/config/android/rules.gni")
771
772 # GYP: //sync/sync_tests.gypi:fake_server_jni
773 generate_jni("fake_server_jni") {
774 testonly = true
775 jni_package = "sync/test/fake_server"
776 sources = [
777 "//chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/Fa keServerHelper.java"
778 ]
779 }
780
781 # GYP: //sync/sync_tests.gypi:sync_java_test_support
782 android_library("sync_java_test_support") {
783 testonly = true
784 deps = [
785 "android:sync_java",
786 "//base:base_java",
787 "//base:base_java_test_support",
788 "//third_party/jsr-305:jsr_305_javalib",
789 ]
790 DEPRECATED_java_in_dir = "test/android/javatests/src"
791 }
792
793 # GYP: //sync/sync_tests.gypi:test_support_sync_fake_server_android
794 static_library("test_support_sync_fake_server_android") {
795 testonly = true
796 sources = [
797 "test/fake_server/android/fake_server_helper_android.cc",
798 "test/fake_server/android/fake_server_helper_android.h",
799 ]
800 deps = [
801 ":fake_server_jni",
802 ":test_support_sync_fake_server",
803 "//base",
804 ]
805 }
806
807 # GYP: //sync/sync_tests.gypi:sync_unit_tests_apk
808 unittest_apk("sync_unit_tests_apk") {
809 unittests_dep = ":sync_unit_tests"
810 deps = [
811 ":sync_unit_tests",
812 ]
813 }
814 }
OLDNEW
« no previous file with comments | « printing/printing.gyp ('k') | sync/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698