Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: base/allocator/BUILD.gn

Issue 2601573002: mac: Hook up allocator shim. (Closed)
Patch Set: Clean up. Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | base/allocator/allocator_shim.h » ('j') | base/allocator/allocator_shim.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/allocator.gni") 6 import("//build/config/allocator.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 8
9 declare_args() { 9 declare_args() {
10 # Provide a way to force disable debugallocation in Debug builds, 10 # Provide a way to force disable debugallocation in Debug builds,
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 ":tcmalloc", 337 ":tcmalloc",
338 ] 338 ]
339 } else if (is_linux && use_allocator == "none") { 339 } else if (is_linux && use_allocator == "none") {
340 sources += [ "allocator_shim_default_dispatch_to_glibc.cc" ] 340 sources += [ "allocator_shim_default_dispatch_to_glibc.cc" ]
341 } else if (is_android && use_allocator == "none") { 341 } else if (is_android && use_allocator == "none") {
342 sources += [ 342 sources += [
343 "allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc", 343 "allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
344 "allocator_shim_override_linker_wrapped_symbols.h", 344 "allocator_shim_override_linker_wrapped_symbols.h",
345 ] 345 ]
346 all_dependent_configs = [ ":wrap_malloc_symbols" ] 346 all_dependent_configs = [ ":wrap_malloc_symbols" ]
347 } else if (is_mac) {
348 sources += [ "allocator_shim_override_mac_symbols.h" ]
347 } 349 }
348 } 350 }
349 } 351 }
OLDNEW
« no previous file with comments | « no previous file | base/allocator/allocator_shim.h » ('j') | base/allocator/allocator_shim.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698