Index: base/allocator/BUILD.gn |
diff --git a/base/allocator/BUILD.gn b/base/allocator/BUILD.gn |
index e598f8f6c14708417e4f9127d733f1ccb9e3f790..d8e3b275a0f89aae632a2b277a09f924582711b6 100644 |
--- a/base/allocator/BUILD.gn |
+++ b/base/allocator/BUILD.gn |
@@ -178,6 +178,12 @@ if (!is_android) { |
] |
defines += [ "PERFTOOLS_DLL_DECL=" ] |
+ configs -= [ |
+ # Tcmalloc defines this itself, and we don't want duplicate definition |
+ # warnings. |
+ "//build/config/win:nominmax", |
+ ] |
+ |
direct_dependent_configs = [ ":nocmt" ] |
deps += [ |