Skip to content

Commit

Permalink
[iOS/OS X] Add Security.framework to //crypto link flags.
Browse files Browse the repository at this point in the history
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}
  • Loading branch information
sdefresne authored and Commit bot committed Mar 17, 2016
1 parent 33aa2b3 commit 41b8690
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crypto/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ component("crypto") {
"mock_apple_keychain.cc",
"mock_apple_keychain.h",
]
} else {
libs = [ "Security.framework" ]
}

if (!is_mac) {
Expand Down

0 comments on commit 41b8690

Please sign in to comment.