| 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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//components/sync/protocol/protocol_sources.gni") | 7 import("//components/sync/protocol/protocol_sources.gni") |
| 8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 | 9 |
| 10 static_library("sync") { | 10 static_library("sync") { |
| (...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 deps += [ "//chromeos" ] | 579 deps += [ "//chromeos" ] |
| 580 } | 580 } |
| 581 | 581 |
| 582 if (is_mac) { | 582 if (is_mac) { |
| 583 libs = [ | 583 libs = [ |
| 584 "CoreFoundation.framework", | 584 "CoreFoundation.framework", |
| 585 "SystemConfiguration.framework", # Required by get_session_name_mac.mm. | 585 "SystemConfiguration.framework", # Required by get_session_name_mac.mm. |
| 586 ] | 586 ] |
| 587 } | 587 } |
| 588 | 588 |
| 589 if (is_win) { |
| 590 sources += [ |
| 591 "engine_impl/loopback_server/loopback_connection_manager.cc", |
| 592 "engine_impl/loopback_server/loopback_connection_manager.h", |
| 593 "engine_impl/loopback_server/loopback_server.cc", |
| 594 "engine_impl/loopback_server/loopback_server.h", |
| 595 "engine_impl/loopback_server/loopback_server_entity.cc", |
| 596 "engine_impl/loopback_server/loopback_server_entity.h", |
| 597 "engine_impl/loopback_server/persistent_bookmark_entity.cc", |
| 598 "engine_impl/loopback_server/persistent_bookmark_entity.h", |
| 599 "engine_impl/loopback_server/persistent_permanent_entity.cc", |
| 600 "engine_impl/loopback_server/persistent_permanent_entity.h", |
| 601 "engine_impl/loopback_server/persistent_tombstone_entity.cc", |
| 602 "engine_impl/loopback_server/persistent_tombstone_entity.h", |
| 603 "engine_impl/loopback_server/persistent_unique_client_entity.cc", |
| 604 "engine_impl/loopback_server/persistent_unique_client_entity.h", |
| 605 ] |
| 606 } |
| 607 |
| 589 if (enable_configuration_policy) { | 608 if (enable_configuration_policy) { |
| 590 sources += [ | 609 sources += [ |
| 591 "driver/sync_policy_handler.cc", | 610 "driver/sync_policy_handler.cc", |
| 592 "driver/sync_policy_handler.h", | 611 "driver/sync_policy_handler.h", |
| 593 ] | 612 ] |
| 594 deps += [ | 613 deps += [ |
| 595 "//components/policy:generated", | 614 "//components/policy:generated", |
| 596 "//components/policy/core/browser", | 615 "//components/policy/core/browser", |
| 597 ] | 616 ] |
| 598 } | 617 } |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 941 | 960 |
| 942 if (is_chromeos) { | 961 if (is_chromeos) { |
| 943 # Required by get_session_name_unittest.cc on Chrome OS. | 962 # Required by get_session_name_unittest.cc on Chrome OS. |
| 944 deps += [ "//chromeos" ] | 963 deps += [ "//chromeos" ] |
| 945 } | 964 } |
| 946 | 965 |
| 947 if (is_ios) { | 966 if (is_ios) { |
| 948 sources -= [ "engine/net/http_bridge_unittest.cc" ] | 967 sources -= [ "engine/net/http_bridge_unittest.cc" ] |
| 949 } | 968 } |
| 950 | 969 |
| 970 if (is_win) { |
| 971 sources += [ "engine_impl/loopback_server/loopback_server_unittest.cc" ] |
| 972 } |
| 973 |
| 951 if (enable_configuration_policy) { | 974 if (enable_configuration_policy) { |
| 952 sources += [ "driver/sync_policy_handler_unittest.cc" ] | 975 sources += [ "driver/sync_policy_handler_unittest.cc" ] |
| 953 deps += [ | 976 deps += [ |
| 954 "//components/policy:generated", | 977 "//components/policy:generated", |
| 955 "//components/policy/core/browser", | 978 "//components/policy/core/browser", |
| 956 ] | 979 ] |
| 957 } | 980 } |
| 958 | 981 |
| 959 defines = [ "SYNC_TEST" ] | 982 defines = [ "SYNC_TEST" ] |
| 960 } | 983 } |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1095 deps = [ | 1118 deps = [ |
| 1096 ":fake_server_jni", | 1119 ":fake_server_jni", |
| 1097 ":sync", | 1120 ":sync", |
| 1098 ":test_support_fake_server", | 1121 ":test_support_fake_server", |
| 1099 "//base", | 1122 "//base", |
| 1100 "//testing/gtest", | 1123 "//testing/gtest", |
| 1101 "//url:url", | 1124 "//url:url", |
| 1102 ] | 1125 ] |
| 1103 } | 1126 } |
| 1104 } | 1127 } |
| OLD | NEW |