Index: components/sync/BUILD.gn |
diff --git a/components/sync/BUILD.gn b/components/sync/BUILD.gn |
index cad00ffe0493ff40d8f497e5baecb35d1d6a533d..1a3fda64666377e77accd3d1369a70a82456badf 100644 |
--- a/components/sync/BUILD.gn |
+++ b/components/sync/BUILD.gn |
@@ -623,7 +623,7 @@ static_library("sync") { |
] |
} |
- if (enable_configuration_policy) { |
+ if (!is_ios) { |
sources += [ |
"driver/sync_policy_handler.cc", |
"driver/sync_policy_handler.h", |
@@ -990,7 +990,7 @@ source_set("unit_tests") { |
sources += [ "engine_impl/loopback_server/loopback_server_unittest.cc" ] |
} |
- if (enable_configuration_policy) { |
+ if (!is_ios) { |
sources += [ "driver/sync_policy_handler_unittest.cc" ] |
deps += [ |
"//components/policy:generated", |