Index: base/allocator/BUILD.gn |
diff --git a/base/allocator/BUILD.gn b/base/allocator/BUILD.gn |
index 32e5e6cdc65e0944c3f2ba7c2fec817293e93591..1d0ba62cb88769892c6531d317b9e8b5243f0273 100644 |
--- a/base/allocator/BUILD.gn |
+++ b/base/allocator/BUILD.gn |
@@ -71,6 +71,12 @@ if (is_win) { |
visual_studio_path + "/vc/lib", |
rebase_path("$target_gen_dir/allocator"), |
current_cpu, |
+ |
+ # The environment file in the build directory. This is required because |
+ # the Windows toolchain setup saves the VC paths and such so that |
+ # running "mc.exe" will work with the configured toolchain. This file |
+ # is in the root build dir. |
+ "environment.$current_cpu", |
] |
} |