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

Unified Diff: components/os_crypt/BUILD.gn

Issue 1439203003: Fix //components/os_crypt to build for iOS with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios_web_fix
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
}
}
« no previous file with comments | « components/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698