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

Unified Diff: build/config/sanitizers/sanitizers.gni

Issue 2931983003: Move libc++ configs and flags out of //build/config/sanitizers (Closed)
Patch Set: Update installer files Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/sanitizers/BUILD.gn ('k') | chrome/installer/linux/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/sanitizers/sanitizers.gni
diff --git a/build/config/sanitizers/sanitizers.gni b/build/config/sanitizers/sanitizers.gni
index cb8bbfb1c4b997f12fde552eb3abcdb9a44be88f..fb2a83cca95e26061f8745fdd0a05a6cf17cc566 100644
--- a/build/config/sanitizers/sanitizers.gni
+++ b/build/config/sanitizers/sanitizers.gni
@@ -127,7 +127,6 @@ if (current_toolchain != default_toolchain) {
use_afl = false
use_cfi_diag = false
use_cfi_recover = false
- use_custom_libcxx = false
use_drfuzz = false
use_libfuzzer = false
use_prebuilt_instrumented_libraries = false
@@ -139,14 +138,6 @@ if (current_toolchain != default_toolchain) {
# declare_args block. User overrides are only applied at the end of a
# declare_args block.
declare_args() {
- # Use libc++ (buildtools/third_party/libc++ and
- # buildtools/third_party/libc++abi) instead of stdlibc++ as standard library.
- # This is intended to be used for instrumented builds.
- use_custom_libcxx =
- (is_asan && is_linux && !is_chromeos &&
- (!is_chromecast || is_cast_desktop_build)) || is_tsan || is_msan ||
- is_ubsan || is_ubsan_security || (use_libfuzzer && !is_mac) || use_afl
-
# Enable -fsanitize-coverage.
use_sanitizer_coverage =
use_libfuzzer || use_afl || sanitizer_coverage_flags != ""
« no previous file with comments | « build/config/sanitizers/BUILD.gn ('k') | chrome/installer/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698