Skip to content

Instantly share code, notes, and snippets.

@abarth
Created September 9, 2016 07:15
Show Gist options
  • Save abarth/2f0c68ecfab90f0a1bbd647e7bcb2b1b to your computer and use it in GitHub Desktop.
Save abarth/2f0c68ecfab90f0a1bbd647e7bcb2b1b to your computer and use it in GitHub Desktop.
diff --git a/sky/engine/BUILD.gn b/sky/engine/BUILD.gn
index 9689c16..59a16ca 100644
--- a/sky/engine/BUILD.gn
+++ b/sky/engine/BUILD.gn
@@ -22,6 +22,10 @@ config("config") {
cflags = [
"-Wno-inconsistent-missing-override",
]
+
+ defines = [
+ "MEMORY_TOOL_REPLACES_ALLOCATOR",
+ ]
}
# The follow configs apply to all targets except for unit tests, which rely on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment