boringssl tests no longer inherit chromium test settings, so don't build |
|||
Issue descriptioncrrev.com/1909363005 changed how boringssl's .gn files are created. This means that warning C4800 (int to bool conversion/performance warning) is no longer being suppressed, leading to this warning: third_party\boringssl\src\crypto\bytestring\bytestring_test.cc(669): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning) It also means that 40 boringssl_*_test.exe binaries no longer have manifests, presumably because they are no longer inheriting from the test template. The build warning prevents full gn builds from succeeding. The missing manifests are less urgent but do need to be resolved in some way. There may be other less obvious consequences to this change.
,
Apr 27 2016
It is annoying that our gn CQ coverage is so light right now. That will be improved very soon. For the manifest issue you could either ignore the problem (and I will fix it) or follow the pattern in this CL: https://codereview.chromium.org/1925493002 Again, the manifest issue is not high priority.
,
Apr 28 2016
I believe https://codereview.chromium.org/1917223004/ will fix the warning/error.
,
Apr 28 2016
Er, sorry, no it won't (at least, not in a chromium build). It would fix it in a webrtc build :). To fix it in chromium land we need either the compiler warnings to be fixed or to swap the configs used to compile the code as discussed in comment #1. We have windows gn trybots, but they don't build 'all', so we didn't catch this. I'm working on fixing that.
,
Apr 28 2016
Yeah, I already have a CL uploaded to make it so we can swap the configs. It's just waiting on review and then I'll update DEPS and BUILD.gn in src.git to use it. https://boringssl-review.googlesource.com/#/c/7795/
,
Apr 28 2016
The following revision refers to this bug: https://boringssl.googlesource.com/boringssl.git/+/b3be1cf97da6c0c796f0ab9aebe7232b030d32b0 commit b3be1cf97da6c0c796f0ab9aebe7232b030d32b0 Author: David Benjamin <davidben@google.com> Date: Wed Apr 27 23:15:06 2016 Add a 'configs_exclude' option to the generated GN 'create_tests' template. Chromium uses GN's default configs feature which makes all targets default to a set of configs. It then expects third_party code to take one of them (chromium_code) out and put in a different one (no_chromium_code). Because of that, we need a way to tell the template to emit -= lines. Add a separate option for that. (It may be worth making us clean against the chromium_code config rather than the no_chromium_code one, but I'll explore that separately in case making the C code clean ends up being a rabbithole.) BUG= chromium:607294 Change-Id: I2aa179665ab17439cc123fc86a7af9690cd4bcd6 Reviewed-on: https://boringssl-review.googlesource.com/7795 Reviewed-by: Adam Langley <agl@google.com> [modify] https://crrev.com/b3be1cf97da6c0c796f0ab9aebe7232b030d32b0/util/generate_build_files.py
,
Apr 28 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f4ada8f2d80f1c13d7a387d561b620a17f09c491 commit f4ada8f2d80f1c13d7a387d561b620a17f09c491 Author: davidben <davidben@chromium.org> Date: Thu Apr 28 18:16:51 2016 Roll src/third_party/boringssl/src a08142380..0a63b9653 https://boringssl.googlesource.com/boringssl/+log/a08142380981b366fb4f5eb61f9888f49342d388..0a63b96535dff86fc226e3a13e34252e702a45d0 This also modifies the GN build so the tests build with no_chromium_code. BUG= 607294 Review-Url: https://codereview.chromium.org/1931803003 Cr-Commit-Position: refs/heads/master@{#390422} [modify] https://crrev.com/f4ada8f2d80f1c13d7a387d561b620a17f09c491/DEPS [modify] https://crrev.com/f4ada8f2d80f1c13d7a387d561b620a17f09c491/third_party/boringssl/BUILD.generated.gni [modify] https://crrev.com/f4ada8f2d80f1c13d7a387d561b620a17f09c491/third_party/boringssl/BUILD.generated_tests.gni [modify] https://crrev.com/f4ada8f2d80f1c13d7a387d561b620a17f09c491/third_party/boringssl/BUILD.gn [modify] https://crrev.com/f4ada8f2d80f1c13d7a387d561b620a17f09c491/third_party/boringssl/boringssl.gypi
,
Apr 28 2016
This should be fixed now. |
|||
►
Sign in to add a comment |
|||
Comment 1 by davidben@chromium.org
, Apr 27 2016Status: Assigned (was: Untriaged)