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

Unified Diff: build/config/sanitizers/BUILD.gn

Issue 2931983003: Move libc++ configs and flags out of //build/config/sanitizers (Closed)
Patch Set: 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
Index: build/config/sanitizers/BUILD.gn
diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn
index 637fc881174f37fbcf016d8e314c1f3315ba55fb..b06a422e82971eebe457e11ea72d0d2245171cea 100644
--- a/build/config/sanitizers/BUILD.gn
+++ b/build/config/sanitizers/BUILD.gn
@@ -282,19 +282,6 @@ config("common_sanitizer_flags") {
}
}
-# TODO(thomasanderson): Move this out of build/config/sanitizers.
-config("libcxx_flags") {
- if (use_custom_libcxx) {
- prefix = "//buildtools/third_party"
- include = "trunk/include"
- cflags_cc = [
- "-nostdinc++",
- "-isystem" + rebase_path("$prefix/libc++/$include", root_build_dir),
- "-isystem" + rebase_path("$prefix/libc++abi/$include", root_build_dir),
- ]
- }
-}
-
config("asan_flags") {
cflags = []
if (is_asan) {
@@ -540,7 +527,6 @@ config("fuzzing_build_mode") {
all_sanitizer_configs = [
":common_sanitizer_flags",
- ":libcxx_flags",
":coverage_flags",
":default_sanitizer_ldflags",
":asan_flags",

Powered by Google App Engine
This is Rietveld 408576698