This switches the USE_OPENSSL Linux and CrOS builds to continue
setting USE_NSS_CERTS. This lets it use BoringSSL for the crypto
and SSL stack and NSS for certificate verification. See design
doc for details on the flags:
https://docs.google.com/document/d/1x4DOCKwFkAxl9MGfd6snIzFigO4ku6Shuci0r5BzasQ/edit
On Linux, only client auth and OCSP stapling are missing. On ChromeOS,
there are some problematic USE_NSS_CERTS APIs in RSAPrivateKey to
resolve. We also still need to resolve crbug.com/347404 to maintain
parity.
As a follow-up, USE_OPENSSL_CERTS on non-Android can now be
removed (it was never supported anyway).
BUG=462040
Review URL: https://codereview.chromium.org/881213004
Cr-Original-Commit-Position: refs/heads/master@{#326222}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2bcbc6bceb6017c762ef01553a55a12fe390de16
This is a reland of https://crrev.com/306659 which was reverted because it
broke Syzygy. The problems have since been resolved in Syzygy so we can reland
this.
This is a much much larger change than the diff suggests. If it breaks
something, please revert first and ask questions later.
TBR=brettw@chromium.org,rsleevi@chromium.org
BUG=338884
Review URL: https://codereview.chromium.org/782843002
Cr-Original-Commit-Position: refs/heads/master@{#307152}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 50b3fb8dc460461cee676ddf9923c5a1d499f4fc
This is a reland of https://crrev.com/306358 which was reverted
because it broke the Windows GN build.
This is a much much larger change than the diff suggests. If it
breaks something, please revert first and ask questions later.
BUG=338884
Review URL: https://codereview.chromium.org/776643003
Cr-Original-Commit-Position: refs/heads/master@{#306659}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dcbcbd479e2b6effd7bbbb77a01853aa190442ba
This is a much much larger change than the diff suggests. If it
breaks something, please revert first and ask questions later.
BUG=338884
Review URL: https://codereview.chromium.org/765603002
Cr-Original-Commit-Position: refs/heads/master@{#306358}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: deaca2e618f14a475045cefcbe03d18eb79aaff7
This is a reland of dd7edfa67 which was reverted in 80a9a88f4c for build
failures. It also includes a BoringSSL roll and build changes to avoid adding a
static initializer.
This is a much much larger change than the diff suggests. If it breaks
something, please revert first and ask questions later.
BUG=338885
TBR=brettw
Review URL: https://codereview.chromium.org/568643003
Cr-Original-Commit-Position: refs/heads/master@{#294589}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 71c13e6ac01d5cdc49ca40e8e9301d5142d85018
This is a much much larger change than the diff suggests. If it breaks
something, please revert first and ask questions later.
BUG=338885
Review URL: https://codereview.chromium.org/539163002
Cr-Original-Commit-Position: refs/heads/master@{#294233}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dd7edfa679492a6feb3ef2e1630f05da82a1b31f
This adds extension detection for lower-case ".s" assembly files (used in NSPR) in addition to the existing handling of uppercase ".S" ones.
Minor fixes for build files for Mac for dependencies and files.
Proper handling of USE_NSS and addition of USE_OPENSSL_CERTS that match the GYP build.
R=rsleevi@chromium.org
Review URL: https://codereview.chromium.org/242173002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@265064 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This fixes a lot of minor mistakes (mostly missing/extra files and flags) for the Mac GN build.
I separated out some clang flags into a config for extra clang warnings. Several of the third party libraries needed to remove this.
Removes the use_nss flag and uses !use_openssl. This is a result of discussion with rsleevi.
Removes extra duplicate net build file from secondary tree.
ui/gesture_events seems to be getting compiled in GN with more strict warnings than in GYP. Rather than fix this, I fixed the warning in the gesture recognizer unit test. It was returning a const copy (the const is pointless when you're copying).
This also removes a bunch of old GYP integration stuff that was left in the GN build.
R=scottmg@chromium.org
Review URL: https://codereview.chromium.org/239543013
git-svn-id: http://src.chromium.org/svn/trunk/src/build@264626 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This makes the -D defines for the default desktop Linux build of re2 in GN match that of GYP.
This moves the SSL configuration stuff into the root build directory. It's better to match the GYP build exactly for ease of landing even though this is a stupid dependency.
Fixes the help text that still references the implicit "gen" command (I removed this).
R=scottmg@chromium.org
Review URL: https://codereview.chromium.org/170533003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@252981 4ff67af0-8c30-449e-8e8b-ad334ec8d88c