summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_allocator_BUILD.gn
blob: 316bc3b4f34903807f941e39d3f92f7af18e8080 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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",