Index: components/sync/BUILD.gn |
diff --git a/components/sync/BUILD.gn b/components/sync/BUILD.gn |
index b3b524c7e570d73b63a6786681adcb48552e33d4..67692bbaf0b53b996779629a9d94a509f3779a38 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", |