BoringSSL GN files hard to re-use by other projects. |
||
Issue descriptionProjects like WebRTC relies heavily on BoringSSL and needs to stay up to date with a high frequency with the security fixes etc. Because of that WebRTC has an automated rolling system that pulls in the version Chrome currently has in its DEPS file. WebRTC also uses the same GYP and GN files as the ones maintained in Chrome's src/third_party/boringssl directory (the BoringSSL source code itself is DEPSed in to src/third_party/boringssl/src). Without the approach above, WebRTC would have to manually maintain a separate set of GYP and GN files, which doesn't make sense (and would have a high maintenance cost). See https://bugs.chromium.org/p/webrtc/issues/detail?id=5829 for more details. In Chromium, a boringssl_unittest target exists, which wraps the large number of lower-level tests that exists for BoringSSL. It's currently not being build or run from Chromium checkouts, but it might be useful to keep around for simplicity in test execution (although since the tests already run in BoringSSL's continuous integration, it's not really necessary to have that luxury). This bug tracks how to deal with this problem and how to work around it from WebRTC's perspective.
,
Apr 28 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/da2f89b031149de3966bda976cb5ac7ed3b5d4ac commit da2f89b031149de3966bda976cb5ac7ed3b5d4ac Author: kjellander <kjellander@chromium.org> Date: Thu Apr 28 06:55:45 2016 GN: Move boringssl_tests into build_with_chromium condition BUG= 606944 Review-Url: https://codereview.chromium.org/1917223004 Cr-Commit-Position: refs/heads/master@{#390314} [modify] https://crrev.com/da2f89b031149de3966bda976cb5ac7ed3b5d4ac/third_party/boringssl/BUILD.gn
,
Mar 27 2017
I haven't had any issues with this since when this bug was filed so I'm leaning towards doing nothing for now. We really want to avoid maintaining our own BUILD.gn files whenever possible. Especially for such complex ones as https://cs.chromium.org/chromium/src/third_party/boringssl/BUILD.gn
,
Mar 27 2017
The offending target is ultimately going to be removed and replaced with the native upstream GTest ones anyway, when we finish converting everything. |
||
►
Sign in to add a comment |
||
Comment 1 by davidben@chromium.org
, Apr 26 2016