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

Side by Side Diff: sync/BUILD.gn

Issue 824263004: Move the test template to //testing/test.gni (part 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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 | « sql/BUILD.gn ('k') | testing/test.gni » ('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 import("//testing/test.gni")
6 7
7 component("sync") { 8 component("sync") {
8 public_deps = [ 9 public_deps = [
9 ":sync_core", 10 ":sync_core",
10 "//sync/protocol", 11 "//sync/protocol",
11 ] 12 ]
12 } 13 }
13 14
14 # GYP version: sync/sync.gyp:sync_core 15 # GYP version: sync/sync.gyp:sync_core
15 source_set("sync_core") { 16 source_set("sync_core") {
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 "//sql", 639 "//sql",
639 "//sync", 640 "//sync",
640 "//testing/gmock", 641 "//testing/gmock",
641 "//testing/gtest", 642 "//testing/gtest",
642 "//third_party/leveldatabase", 643 "//third_party/leveldatabase",
643 "//third_party/protobuf:protobuf_lite", 644 "//third_party/protobuf:protobuf_lite",
644 ":test_support_sync_core", 645 ":test_support_sync_core",
645 ":test_support_sync_internal_api", 646 ":test_support_sync_internal_api",
646 ] 647 ]
647 648
648 # TODO(GYP)
649 # ['OS == "android"', {
650 # 'dependencies': [
651 # '../testing/android/native_test.gyp:native_test_native_code',
652 # ],
653 # }],
654
655 if (is_chromeos) { 649 if (is_chromeos) {
656 # Required by get_session_name_unittest.cc on Chrome OS. 650 # Required by get_session_name_unittest.cc on Chrome OS.
657 deps += [ "//chromeos" ] 651 deps += [ "//chromeos" ]
658 } 652 }
659 653
660 if (is_ios) { 654 if (is_ios) {
661 sources -= [ "internal_api/http_bridge_unittest.cc" ] 655 sources -= [ "internal_api/http_bridge_unittest.cc" ]
662 } 656 }
663 657
664 defines = [ "SYNC_TEST" ] 658 defines = [ "SYNC_TEST" ]
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 sources = [ 799 sources = [
806 "test/fake_server/android/fake_server_helper_android.cc", 800 "test/fake_server/android/fake_server_helper_android.cc",
807 "test/fake_server/android/fake_server_helper_android.h", 801 "test/fake_server/android/fake_server_helper_android.h",
808 ] 802 ]
809 deps = [ 803 deps = [
810 ":fake_server_jni", 804 ":fake_server_jni",
811 ":test_support_sync_fake_server", 805 ":test_support_sync_fake_server",
812 "//base", 806 "//base",
813 ] 807 ]
814 } 808 }
815
816 # GYP: //sync/sync_tests.gypi:sync_unit_tests_apk
817 unittest_apk("sync_unit_tests_apk") {
818 unittests_dep = ":sync_unit_tests"
819 deps = [
820 ":sync_unit_tests",
821 ]
822 }
823 } 809 }
OLDNEW
« no previous file with comments | « sql/BUILD.gn ('k') | testing/test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698