| 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 | 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |