commit | d1579bf7a849c3b2d99e268a4a84ff0ae8068fa5 | [log] [tgz] |
---|---|---|
author | Jose Dapena Paz <jdapena@igalia.com> | Tue Mar 19 10:23:29 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 19 10:23:29 2024 |
tree | 8e72866eeff46320c4bf0c4ca4b23670ed84bba8 | |
parent | 3b9683e5c29de75dbdaca1b365935f98ba2c59f9 [diff] |
libstdc++: make hardening assertions configurable from GN args The current implementation for enabling libstdc++ hardening assertions is done using build_overrides.gni. This is problematic as it breaks other dependencies using //build/ as they will require also an specific argument for that purpose. Replace it with a GN arg, use_safe_libcxx, that uses same heuristic (Linux without custom libc++), but can be set from command line. This is because we cannot accurately know if libstdc++ is used, so we want to still allow to enable the assertions. Bug: 328287875 Change-Id: I27cf09a13af638cfc5e82bce5e3fa7391512c59c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5348001 Reviewed-by: Philipp Wollermann <philwo@chromium.org> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: José Dapena Paz <jdapena@igalia.com> Cr-Commit-Position: refs/heads/main@{#1274804}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.