--- base/allocator/BUILD.gn.orig 2017-01-26 00:49:07 UTC +++ base/allocator/BUILD.gn @@ -338,6 +338,9 @@ if (use_experimental_allocator_shim) { ] } else if (is_linux && use_allocator == "none") { sources += [ "allocator_shim_default_dispatch_to_glibc.cc" ] + } else if (is_bsd && use_allocator == "none") { + # TODO move the code to allocator_shim_default_dispatch_to_libc.cc" + sources += [ "allocator_shim_default_dispatch_to_glibc.cc" ] } else if (is_android && use_allocator == "none") { sources += [ "allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",