Remove //crypto:platform
//crypto:platform historically abstracted between NSS and OpenSSL, back
when we used one or the other depending on configuration. It then then
got copy-pasted everywhere as targets split, folks got deps vs.
public_deps wrong, or code moved around.
Now we always use //third_party/boringssl for cryptography and TLS. On
Linux and CrOS, we additionally use //build/config/linux/nss for some
certificate-related platform integration points, though we're gradually
moving away from it.
Replace uses of //crypto:platform with one, the other, both, or often
neither. For lower-level targets, I greped for use of NSS and BoringSSL
headers and depended on the one that was used. For top-level targets in
//chrome/browser, it gets a bit of a mess and probably not worth
manually revising, so I just let public_deps, etc., flow.
Fixed: 1275165
Change-Id: Ib48e6a9ed7b6a3893834afe0d6da1cffde7e374f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3602624
Reviewed-by: Colin Blundell <blundell@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Sergey Volk <servolk@chromium.org>
Commit-Queue: David Benjamin <davidben@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Matt Mueller <mattm@chromium.org>
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#997748}
NOKEYCHECK=True
GitOrigin-RevId: 4c457a780aacbd037a620f50996af3a80e4cd9cd
1 file changed