Fix extensions NSS/BoringSSL dependencies
commitd1be6eac818a2f9b35973814c9ff1740fdca2863
authordavidben <davidben@chromium.org>
Fri, 31 Oct 2014 21:00:09 +0000 (31 14:00 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 31 Oct 2014 21:00:24 +0000 (31 21:00 +0000)
tree314448adb447a7032ba08f27f7680f0343c48c16
parent8ddfc1ef844ae617768b6b0cc5642c445a9ea9ff
Fix extensions NSS/BoringSSL dependencies

The NSS dependency should be guarded by a use_openssl check. BoringSSL and NSS
cannot be linked together as they define some of the same symbols. Update BUILD.gn
analogously by depending on //crypto:platform.

Also condition nss in build/all.gyp on use_openssl in preparation for
https://codereview.chromium.org/694643002/ which will disable the nss and nspr
targets altogether.

BUG=429021

Review URL: https://codereview.chromium.org/686693004

Cr-Commit-Position: refs/heads/master@{#302325}
build/all.gyp
extensions/browser/BUILD.gn
extensions/extensions.gyp