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

Unified Diff: build/config/BUILD.gn

Issue 1234033005: Add Syzygy support to Windows GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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.gn ('k') | build/config/allocator.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index 287a1e762b52e84c1d114dca794af45e6a353e6c..56a86e5932783d772e57bf1885f42cbe3ce961c0 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -6,6 +6,7 @@ import("//build/config/allocator.gni")
import("//build/config/chrome_build.gni")
import("//build/config/crypto.gni")
import("//build/config/features.gni")
+import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/ui.gni")
import("//build/module_args/v8.gni")
@@ -275,6 +276,13 @@ config("feature_flags") {
if (enable_webvr) {
defines += [ "ENABLE_WEBVR" ]
}
+ if (is_syzyasan) {
+ defines += [
+ "SYZYASAN",
+ "MEMORY_TOOL_REPLACES_ALLOCATOR",
+ "MEMORY_SANITIZER_INITIAL_SIZE",
+ ]
+ }
}
# Debug/release ----------------------------------------------------------------
« no previous file with comments | « BUILD.gn ('k') | build/config/allocator.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698