Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Issue 377783004: Add BoringSSL GYP files. (Closed)

Created:
6 years, 5 months ago by agl
Modified:
6 years, 5 months ago
Reviewers:
M-A Ruel, Ryan Sleevi
CC:
chromium-reviews, davidben
Project:
chromium
Visibility:
Public.

Description

Add BoringSSL GYP files. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282169

Patch Set 1 #

Patch Set 2 : Include paths for arm_arch.h #

Patch Set 3 : ... #

Patch Set 4 : g try #

Total comments: 38

Patch Set 5 : Address rsleevi's comments. #

Patch Set 6 : Correct Python code. #

Total comments: 30

Patch Set 7 : Correct python code. #

Total comments: 25

Patch Set 8 : Final Python fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102319 lines, -1 line) Patch
M DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M build/all.gyp View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/boringssl/boringssl.gyp View 1 2 3 4 5 6 7 1 chunk +84 lines, -0 lines 0 comments Download
A third_party/boringssl/boringssl.gypi View 1 2 3 4 5 6 7 1 chunk +402 lines, -0 lines 0 comments Download
A third_party/boringssl/boringssl_tests.gypi View 1 2 3 4 5 6 7 1 chunk +201 lines, -0 lines 0 comments Download
A third_party/boringssl/boringssl_unittest.cc View 1 2 3 4 5 6 7 1 chunk +185 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-arm/crypto/aes/aes-armv4.S View 1 2 3 4 5 6 7 1 chunk +1180 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-arm/crypto/aes/bsaes-armv7.S View 1 2 3 4 5 6 7 1 chunk +2546 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-arm/crypto/bn/armv4-mont.S View 1 2 3 4 5 6 7 1 chunk +574 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-arm/crypto/modes/ghash-armv4.S View 1 2 3 4 5 6 7 1 chunk +525 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-arm/crypto/sha/sha1-armv4-large.S View 1 2 3 4 5 6 7 1 chunk +455 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-arm/crypto/sha/sha256-armv4.S View 1 2 3 4 5 6 7 1 chunk +2551 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-arm/crypto/sha/sha512-armv4.S View 1 2 3 4 5 6 7 1 chunk +1771 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86/crypto/aes/aesni-x86.S View 1 2 3 4 5 6 7 1 chunk +2198 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86/crypto/aes/vpaes-x86.S View 1 2 3 4 5 6 7 1 chunk +663 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86/crypto/bn/x86.S View 1 2 3 4 5 6 7 1 chunk +2116 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86/crypto/bn/x86-mont.S View 1 2 3 4 5 6 7 1 chunk +339 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86/crypto/cpu-x86-asm.S View 1 2 3 4 5 6 7 1 chunk +334 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86/crypto/modes/ghash-x86.S View 1 2 3 4 5 6 7 1 chunk +1267 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/aes/aes-x86_64.S View 1 2 3 4 5 6 7 1 chunk +2536 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/aes/aesni-x86_64.S View 1 2 3 4 5 6 7 1 chunk +3167 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/aes/bsaes-x86_64.S View 1 2 3 4 5 6 7 1 chunk +2500 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/aes/vpaes-x86_64.S View 1 2 3 4 5 6 7 1 chunk +829 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/bn/modexp512-x86_64.S View 1 2 3 4 5 6 7 1 chunk +1775 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/bn/rsaz-avx2.S View 1 2 3 4 5 6 7 1 chunk +27 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/bn/rsaz-x86_64.S View 1 2 3 4 5 6 7 1 chunk +1119 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/bn/x86_64-mont.S View 1 2 3 4 5 6 7 1 chunk +726 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/bn/x86_64-mont5.S View 1 2 3 4 5 6 7 1 chunk +1830 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/cpu-x86_64-asm.S View 1 2 3 4 5 6 7 1 chunk +146 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/md5/md5-x86_64.S View 1 2 3 4 5 6 7 1 chunk +670 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/modes/aesni-gcm-x86_64.S View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/modes/ghash-x86_64.S View 1 2 3 4 5 6 7 1 chunk +1320 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/rc4/rc4-md5-x86_64.S View 1 2 3 4 5 6 7 1 chunk +1261 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/rc4/rc4-x86_64.S View 1 2 3 4 5 6 7 1 chunk +620 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/sha/sha1-x86_64.S View 1 2 3 4 5 6 7 1 chunk +2424 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/sha/sha256-x86_64.S View 1 2 3 4 5 6 7 1 chunk +2842 lines, -0 lines 0 comments Download
A third_party/boringssl/linux-x86_64/crypto/sha/sha512-x86_64.S View 1 2 3 4 5 6 7 1 chunk +1785 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86/crypto/aes/aesni-x86.S View 1 2 3 4 5 6 7 1 chunk +2158 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86/crypto/aes/vpaes-x86.S View 1 2 3 4 5 6 7 1 chunk +637 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86/crypto/bn/x86-mont.S View 1 2 3 4 5 6 7 1 chunk +337 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86/crypto/cpu-x86-asm.S View 1 2 3 4 5 6 7 1 chunk +328 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86/crypto/modes/ghash-x86.S View 1 2 3 4 5 6 7 1 chunk +1253 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/aes/aes-x86_64.S View 1 2 3 4 5 6 7 1 chunk +2536 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/aes/aesni-x86_64.S View 1 2 3 4 5 6 7 1 chunk +3167 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/aes/bsaes-x86_64.S View 1 2 3 4 5 6 7 1 chunk +2500 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/aes/vpaes-x86_64.S View 1 2 3 4 5 6 7 1 chunk +829 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/bn/modexp512-x86_64.S View 1 2 3 4 5 6 7 1 chunk +1775 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/bn/rsaz-avx2.S View 1 2 3 4 5 6 7 1 chunk +27 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/bn/rsaz-x86_64.S View 1 2 3 4 5 6 7 1 chunk +1119 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/bn/x86_64-mont.S View 1 2 3 4 5 6 7 1 chunk +726 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/bn/x86_64-mont5.S View 1 2 3 4 5 6 7 1 chunk +1830 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/cpu-x86_64-asm.S View 1 2 3 4 5 6 7 1 chunk +146 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/md5/md5-x86_64.S View 1 2 3 4 5 6 7 1 chunk +670 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/modes/aesni-gcm-x86_64.S View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/modes/ghash-x86_64.S View 1 2 3 4 5 6 7 1 chunk +1320 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/rc4/rc4-md5-x86_64.S View 1 2 3 4 5 6 7 1 chunk +1261 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/rc4/rc4-x86_64.S View 1 2 3 4 5 6 7 1 chunk +620 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/sha/sha1-x86_64.S View 1 2 3 4 5 6 7 1 chunk +2424 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/sha/sha256-x86_64.S View 1 2 3 4 5 6 7 1 chunk +2842 lines, -0 lines 0 comments Download
A third_party/boringssl/mac-x86_64/crypto/sha/sha512-x86_64.S View 1 2 3 4 5 6 7 1 chunk +1785 lines, -0 lines 0 comments Download
A third_party/boringssl/update_gypi_and_asm.py View 1 2 3 4 5 6 7 1 chunk +232 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/aes/aes-x86_64.asm View 1 2 3 4 5 6 7 1 chunk +2870 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/aes/aesni-x86_64.asm View 1 2 3 4 5 6 7 1 chunk +3637 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/aes/bsaes-x86_64.asm View 1 2 3 4 5 6 7 1 chunk +2734 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/aes/vpaes-x86_64.asm View 1 2 3 4 5 6 7 1 chunk +1143 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/bn/modexp512-x86_64.asm View 1 2 3 4 5 6 7 1 chunk +1887 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/bn/rsaz-avx2.asm View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/bn/rsaz-x86_64.asm View 1 2 3 4 5 6 7 1 chunk +1326 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/bn/x86_64-mont.asm View 1 2 3 4 5 6 7 1 chunk +946 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/bn/x86_64-mont5.asm View 1 2 3 4 5 6 7 1 chunk +2075 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/cpu-x86_64-asm.asm View 1 2 3 4 5 6 7 1 chunk +158 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/md5/md5-x86_64.asm View 1 2 3 4 5 6 7 1 chunk +778 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/modes/aesni-gcm-x86_64.asm View 1 2 3 4 5 6 7 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/modes/ghash-x86_64.asm View 1 2 3 4 5 6 7 1 chunk +1510 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/rc4/rc4-md5-x86_64.asm View 1 2 3 4 5 6 7 1 chunk +1374 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/rc4/rc4-x86_64.asm View 1 2 3 4 5 6 7 1 chunk +774 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/sha/sha1-x86_64.asm View 1 2 3 4 5 6 7 1 chunk +2619 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/sha/sha256-x86_64.asm View 1 2 3 4 5 6 7 1 chunk +2997 lines, -0 lines 0 comments Download
A third_party/boringssl/win-x86_64/crypto/sha/sha512-x86_64.asm View 1 2 3 4 5 6 7 1 chunk +1913 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
agl
This only causes BoringSSL to be built on platforms where use_openssl=1 is already defined.
6 years, 5 months ago (2014-07-08 23:44:29 UTC) #1
Ryan Sleevi
maruel is my go-to guy for Python build script reviews. He should peep on update_gypi_and_asm.py ...
6 years, 5 months ago (2014-07-09 00:03:35 UTC) #2
M-A Ruel
https://codereview.chromium.org/377783004/diff/30001/third_party/boringssl/update_gypi_and_asm.py File third_party/boringssl/update_gypi_and_asm.py (right): https://codereview.chromium.org/377783004/diff/30001/third_party/boringssl/update_gypi_and_asm.py#newcode1 third_party/boringssl/update_gypi_and_asm.py:1: # This utility enumerates the BoringSSL source in src/ ...
6 years, 5 months ago (2014-07-09 00:24:22 UTC) #3
agl
https://codereview.chromium.org/377783004/diff/30001/third_party/boringssl/boringssl.gyp File third_party/boringssl/boringssl.gyp (right): https://codereview.chromium.org/377783004/diff/30001/third_party/boringssl/boringssl.gyp#newcode12 third_party/boringssl/boringssl.gyp:12: 'type': '<(component)', On 2014/07/09 00:03:35, Ryan Sleevi wrote: > ...
6 years, 5 months ago (2014-07-09 16:42:01 UTC) #4
M-A Ruel
https://codereview.chromium.org/377783004/diff/50001/third_party/boringssl/update_gypi_and_asm.py File third_party/boringssl/update_gypi_and_asm.py (right): https://codereview.chromium.org/377783004/diff/50001/third_party/boringssl/update_gypi_and_asm.py#newcode5 third_party/boringssl/update_gypi_and_asm.py:5: # This utility enumerates the BoringSSL source in src/ ...
6 years, 5 months ago (2014-07-09 16:56:44 UTC) #5
agl
https://codereview.chromium.org/377783004/diff/50001/third_party/boringssl/update_gypi_and_asm.py File third_party/boringssl/update_gypi_and_asm.py (right): https://codereview.chromium.org/377783004/diff/50001/third_party/boringssl/update_gypi_and_asm.py#newcode5 third_party/boringssl/update_gypi_and_asm.py:5: # This utility enumerates the BoringSSL source in src/ ...
6 years, 5 months ago (2014-07-09 17:49:24 UTC) #6
M-A Ruel
python file lgtm with a few additional nits https://codereview.chromium.org/377783004/diff/60001/third_party/boringssl/update_gypi_and_asm.py File third_party/boringssl/update_gypi_and_asm.py (right): https://codereview.chromium.org/377783004/diff/60001/third_party/boringssl/update_gypi_and_asm.py#newcode33 third_party/boringssl/update_gypi_and_asm.py:33: FILE_HEADER ...
6 years, 5 months ago (2014-07-09 17:57:58 UTC) #7
agl
https://codereview.chromium.org/377783004/diff/60001/third_party/boringssl/update_gypi_and_asm.py File third_party/boringssl/update_gypi_and_asm.py (right): https://codereview.chromium.org/377783004/diff/60001/third_party/boringssl/update_gypi_and_asm.py#newcode33 third_party/boringssl/update_gypi_and_asm.py:33: FILE_HEADER = '''# Copyright (c) 2014 The Chromium Authors. ...
6 years, 5 months ago (2014-07-09 18:41:04 UTC) #8
Ryan Sleevi
GYP LGTM Note that GN is coming along rather quickly (on Linux and Mac particularly). ...
6 years, 5 months ago (2014-07-09 18:57:27 UTC) #9
agl
The CQ bit was checked by agl@chromium.org
6 years, 5 months ago (2014-07-09 19:55:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agl@chromium.org/377783004/80001
6 years, 5 months ago (2014-07-09 19:58:14 UTC) #11
commit-bot: I haz the power
Change committed as 282169
6 years, 5 months ago (2014-07-09 23:20:27 UTC) #12
aurimas (slooooooooow)
On 2014/07/09 23:20:27, I haz the power (commit-bot) wrote: > Change committed as 282169 This ...
6 years, 5 months ago (2014-07-10 05:36:30 UTC) #13
Ryan Sleevi
As an FYI builder, a request to revert is not generally appropriate. The FYI builders ...
6 years, 5 months ago (2014-07-10 07:01:27 UTC) #14
pasko
On 2014/07/10 07:01:27, Ryan Sleevi wrote: > As an FYI builder, a request to revert ...
6 years, 5 months ago (2014-07-10 16:16:29 UTC) #15
aurimas (slooooooooow)
On 2014/07/10 16:16:29, pasko wrote: > On 2014/07/10 07:01:27, Ryan Sleevi wrote: > > As ...
6 years, 5 months ago (2014-07-10 17:02:48 UTC) #16
Ryan Sleevi
6 years, 5 months ago (2014-07-10 21:52:12 UTC) #17
Message was sent while issue was closed.
To circle back on this:

After a long discussion with pasko@, a few action items
- pasko@/aurimas@ to work with chrome-infrastructure to get those bots from FYI
onto the main waterfall, running content_shell or appropriate
- Documentation for how to build for Android x86/MIPS is at
https://code.google.com/p/chromium/wiki/AndroidBuildInstructions - so if we need
to reproduce/investigate tests, using Chromium checkouts, those steps are what
we should use.

Powered by Google App Engine
This is Rietveld 408576698