Index: components/os_crypt/BUILD.gn |
diff --git a/components/os_crypt/BUILD.gn b/components/os_crypt/BUILD.gn |
index da4e59e0cb07eb4eeb9a06580d691e3b0f79f98d..457b3cd2b19ebedbb951c0a0d8f87b20e8cd5519 100644 |
--- a/components/os_crypt/BUILD.gn |
+++ b/components/os_crypt/BUILD.gn |
@@ -24,15 +24,17 @@ source_set("os_crypt") { |
"//crypto:platform", |
] |
- if (is_mac) { |
+ if (is_mac || is_ios) { |
sources -= [ "os_crypt_posix.cc" ] |
} |
if (is_ios) { |
+ set_sources_assignment_filter([]) |
sources += [ |
"keychain_password_mac.mm", |
"os_crypt_mac.mm", |
] |
+ set_sources_assignment_filter(sources_assignment_filter) |
} |
} |