mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
ab04758814
New option, --size-only, speeds up using build_test for getting release binary size by skipping everything else. The lto flag is also added for release builds to get a more realistic comparison. The list of crates to test is built up automatically instead of hard coded. To modify what gets included, empty .build_test_* files are checked for existance. This is better than hard coding the list of packages because it was frequently out of date. For certain crate tests, a dynamic library that only exists in a sysroot is required. This change includes a fix that adds the sysroot's lib directory to the LD_LIBRARY_PATH env variable, similar to how PKG_CONFIG_LIBDIR is modified. TEST=build_test BUG=None Change-Id: I626cbcccf40035a0d29001cef7989a091848e4c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2444273 Tested-by: Zach Reizner <zachr@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Auto-Submit: Zach Reizner <zachr@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Zach Reizner <zachr@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_skip | ||
Cargo.toml |