Граф коммитов

15 Коммитов

Автор SHA1 Сообщение Дата
brettw 5a39ef9995 Clarify and update GN build flags docs.
Some of the documentation was unclear and out-of-date, and also didn't really list what to do instead.

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

Cr-Original-Commit-Position: refs/heads/master@{#330761}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8a05b7f011a620b2bb1046acacb4a5ac0f667603
2015-05-20 17:33:15 +00:00
davidben 11ff6b6b02 Initial support for using BoringSSL with NSS certificates.
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
2015-04-22 02:36:54 +00:00
davidben f685339ca6 Switch Windows to BoringSSL from NSS.
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
2014-12-06 03:35:09 +00:00
davidben 132efefe34 Switch Windows back to NSS.
This reverts (the build config portions of)
https://codereview.chromium.org/776643003 which switched Windows to BoringSSL
from NSS. Apparently there's a problem in Syzygy, and releases are gated on
that, so there's not much use in keeping it on trunk in the meantime.

R=brettw@chromium.org
TBR=rsleevi@chromium.org

BUG=338884,439214

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

Cr-Original-Commit-Position: refs/heads/master@{#306928}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8d7262b218684a4b83421e7eb9a366075718fcaa
2014-12-04 23:23:09 +00:00
davidben 8af82a3f18 Switch Windows over to BoringSSL from NSS.
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
2014-12-03 20:09:10 +00:00
markusheintz c19d21aba9 Revert of Switch Windows over to BoringSSL from NSS. (patchset #2 id:20001 of https://codereview.chromium.org/765603002/)
Reason for revert:
breaks gn build
http://build.chromium.org/p/chromium.win/buildstatus?builder=Win8%20GN&number=1126

Original issue's description:
> Switch Windows over to BoringSSL from NSS.
>
> This is a much much larger change than the diff suggests. If it
> breaks something, please revert first and ask questions later.
>
> BUG=338884
>
> Committed: https://crrev.com/deaca2e618f14a475045cefcbe03d18eb79aaff7
> Cr-Commit-Position: refs/heads/master@{#306358}

TBR=rsleevi@chromium.org,brettw@chromium.org,davidben@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=338884

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

Cr-Original-Commit-Position: refs/heads/master@{#306370}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 211c6e459c4b3cad323aed8a39911eae3e777e63
2014-12-02 12:14:54 +00:00
davidben 3886da5d0c Switch Windows over to BoringSSL from NSS.
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
2014-12-02 10:43:02 +00:00
davidben 4d0bc9291b Reland dd7edfa67: Switch Mac over to BoringSSL from NSS.
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
2014-09-12 15:13:27 +00:00
davidben e39ce1e771 Revert of Switch Mac over to BoringSSL from NSS. (patchset #1 id:1 of https://codereview.chromium.org/539163002/)
Reason for revert:
http://build.chromium.org/p/chromium.memory/builders/Mac%20ASan%2064%20Builder/builds/10583

Original issue's description:
> Switch Mac over to BoringSSL from NSS.
>
> This is a much much larger change than the diff suggests. If it breaks
> something, please revert first and ask questions later.
>
> BUG=338885
>
> Committed: https://crrev.com/dd7edfa679492a6feb3ef2e1630f05da82a1b31f
> Cr-Commit-Position: refs/heads/master@{#294233}

TBR=rsleevi@chromium.org,brettw@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=338885

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

Cr-Original-Commit-Position: refs/heads/master@{#294237}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 80a9a88f4c7b7a1522ec12f393c2e6478dc41fe0
2014-09-10 22:01:27 +00:00
davidben dbc83fc6f3 Switch Mac over to BoringSSL from NSS.
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
2014-09-10 21:25:44 +00:00
brettw@chromium.org 0aad604aa5 Work on the Android GN build.
Fills out more targets in the Android build.

BUG=
R=cjhopman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272574 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-23 19:01:46 +00:00
brettw@chromium.org b87dd13629 Make GN build work on Mac again.
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
2014-04-21 20:54:51 +00:00
brettw@chromium.org 70ae79bcd5 Work on Mac GN build.
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
2014-04-17 20:33:19 +00:00
brettw@chromium.org 696094c61a Add SSL support to the GN build
This moves files from the secondary tree to the main one, and renames the "meta" one to //crypto:ssl. It also adds the crypto unit tests.

R=rsleevi@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263744 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-14 23:25:13 +00:00
brettw@chromium.org 9e6f87afac GN: Work on Linux build defines
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
2014-02-24 21:29:49 +00:00