summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2016-03-17 11:09:23 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-17 18:11:01 +0000
commit41b8690712fc10cd4c23778346083910dd3e9104 (patch)
treee468b6d714073dc5a547fac1da13a732f479fc42 /crypto
parent33aa2b3bd15c4b1c77b791d3e759eab47d25e9e2 (diff)
downloadchromium_src-41b8690712fc10cd4c23778346083910dd3e9104.zip
chromium_src-41b8690712fc10cd4c23778346083910dd3e9104.tar.gz
chromium_src-41b8690712fc10cd4c23778346083910dd3e9104.tar.bz2
[iOS/OS X] Add Security.framework to //crypto link flags.
The //crypto library uses some constants that comes from the Security framework (kSecClassGenericPassword, ...). Add this framework to the list of libraries to link on iOS and OS X. BUG=459705 Review URL: https://codereview.chromium.org/1797243002 Cr-Commit-Position: refs/heads/master@{#381746}
Diffstat (limited to 'crypto')
-rw-r--r--crypto/BUILD.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/BUILD.gn b/crypto/BUILD.gn
index 4e339cc..0e11b1f7 100644
--- a/crypto/BUILD.gn
+++ b/crypto/BUILD.gn
@@ -112,6 +112,8 @@ component("crypto") {
"mock_apple_keychain.cc",
"mock_apple_keychain.h",
]
+ } else {
+ libs = [ "Security.framework" ]
}
if (!is_mac) {