| Index: base/allocator/BUILD.gn
|
| diff --git a/base/allocator/BUILD.gn b/base/allocator/BUILD.gn
|
| index d25239ae6f849ea320cb44f72ea7c734c7883cd6..9b5d398cafebfe53f4de3ad89378928b44ba3f1f 100644
|
| --- a/base/allocator/BUILD.gn
|
| +++ b/base/allocator/BUILD.gn
|
| @@ -81,6 +81,8 @@ if (win_use_allocator_shim) {
|
| sources = [
|
| "allocator_shim_win.cc",
|
| "allocator_shim_win.h",
|
| + "winheap_stubs_win.cc",
|
| + "winheap_stubs_win.h",
|
| ]
|
| configs += [ ":allocator_shim_define" ]
|
| }
|
| @@ -272,7 +274,10 @@ if (use_allocator == "tcmalloc") {
|
|
|
| buildflag_header("features") {
|
| header = "features.h"
|
| - flags = [ "USE_EXPERIMENTAL_ALLOCATOR_SHIM=$use_experimental_allocator_shim" ]
|
| + flags = [
|
| + "USE_EXPERIMENTAL_ALLOCATOR_SHIM=$use_experimental_allocator_shim",
|
| + "ENABLE_WIN_ALLOCATOR_SHIM_TESTS=($use_experimental_allocator_shim || $win_use_allocator_shim)",
|
| + ]
|
| }
|
|
|
| if (use_experimental_allocator_shim) {
|
|
|