Only prime NSS in the sandbox for NSS ports.
commit2e6b37998c8f65dced46b22d7b0abf96c602d1b2
authordavidben <davidben@chromium.org>
Tue, 11 Aug 2015 18:18:58 +0000 (11 11:18 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 11 Aug 2015 18:19:44 +0000 (11 18:19 +0000)
tree423a72eaaaf4f127e7af1d557b96febac46135f3
parentf50ac9a7e506173b9db2d4d7c94a9534c284ba23
Only prime NSS in the sandbox for NSS ports.

This code, if all goes well, can actually be deleted now. But leave it there as
ifdefs for now case we still need to revert the chimera.

Now that no calls to InitNSSSafely and friends are built in USE_OPENSSL ports,
the LoadNSSLibraries calls and /dev/urandom fopen override may be removed. They
were only added to support NSS in the sandbox.

BUG=506323

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

Cr-Commit-Position: refs/heads/master@{#342846}
components/nacl.gyp
components/nacl/BUILD.gn
components/nacl/loader/nacl_helper_linux.cc
content/browser/BUILD.gn
content/content_browser.gypi
content/zygote/zygote_main_linux.cc
crypto/nss_util.cc
crypto/nss_util.h
sandbox/linux/sandbox_linux.gypi