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

Side by Side Diff: components/sync/BUILD.gn

Issue 2558043004: Remove enable_configuration_policy build define. (Closed)
Patch Set: Merge Created 4 years 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 | « components/search_engines/BUILD.gn ('k') | components/sync_preferences/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/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 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 "engine_impl/loopback_server/persistent_bookmark_entity.h", 616 "engine_impl/loopback_server/persistent_bookmark_entity.h",
617 "engine_impl/loopback_server/persistent_permanent_entity.cc", 617 "engine_impl/loopback_server/persistent_permanent_entity.cc",
618 "engine_impl/loopback_server/persistent_permanent_entity.h", 618 "engine_impl/loopback_server/persistent_permanent_entity.h",
619 "engine_impl/loopback_server/persistent_tombstone_entity.cc", 619 "engine_impl/loopback_server/persistent_tombstone_entity.cc",
620 "engine_impl/loopback_server/persistent_tombstone_entity.h", 620 "engine_impl/loopback_server/persistent_tombstone_entity.h",
621 "engine_impl/loopback_server/persistent_unique_client_entity.cc", 621 "engine_impl/loopback_server/persistent_unique_client_entity.cc",
622 "engine_impl/loopback_server/persistent_unique_client_entity.h", 622 "engine_impl/loopback_server/persistent_unique_client_entity.h",
623 ] 623 ]
624 } 624 }
625 625
626 if (enable_configuration_policy) { 626 if (!is_ios) {
627 sources += [ 627 sources += [
628 "driver/sync_policy_handler.cc", 628 "driver/sync_policy_handler.cc",
629 "driver/sync_policy_handler.h", 629 "driver/sync_policy_handler.h",
630 ] 630 ]
631 deps += [ 631 deps += [
632 "//components/policy:generated", 632 "//components/policy:generated",
633 "//components/policy/core/browser", 633 "//components/policy/core/browser",
634 ] 634 ]
635 } 635 }
636 636
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 } 983 }
984 984
985 if (is_ios) { 985 if (is_ios) {
986 sources -= [ "engine/net/http_bridge_unittest.cc" ] 986 sources -= [ "engine/net/http_bridge_unittest.cc" ]
987 } 987 }
988 988
989 if (is_win) { 989 if (is_win) {
990 sources += [ "engine_impl/loopback_server/loopback_server_unittest.cc" ] 990 sources += [ "engine_impl/loopback_server/loopback_server_unittest.cc" ]
991 } 991 }
992 992
993 if (enable_configuration_policy) { 993 if (!is_ios) {
994 sources += [ "driver/sync_policy_handler_unittest.cc" ] 994 sources += [ "driver/sync_policy_handler_unittest.cc" ]
995 deps += [ 995 deps += [
996 "//components/policy:generated", 996 "//components/policy:generated",
997 "//components/policy/core/browser", 997 "//components/policy/core/browser",
998 ] 998 ]
999 } 999 }
1000 1000
1001 defines = [ "SYNC_TEST" ] 1001 defines = [ "SYNC_TEST" ]
1002 } 1002 }
1003 1003
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1137 deps = [ 1137 deps = [
1138 ":fake_server_jni", 1138 ":fake_server_jni",
1139 ":sync", 1139 ":sync",
1140 ":test_support_fake_server", 1140 ":test_support_fake_server",
1141 "//base", 1141 "//base",
1142 "//testing/gtest", 1142 "//testing/gtest",
1143 "//url:url", 1143 "//url:url",
1144 ] 1144 ]
1145 } 1145 }
1146 } 1146 }
OLDNEW
« no previous file with comments | « components/search_engines/BUILD.gn ('k') | components/sync_preferences/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698