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

Unified Diff: base/allocator/BUILD.gn

Issue 1469843002: Remove dependency on allocator from 'content' targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unify_allocator1_2
Patch Set: Fix build Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/allocator/allocator.gyp » ('j') | base/allocator/allocator_extension.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/allocator/BUILD.gn
diff --git a/base/allocator/BUILD.gn b/base/allocator/BUILD.gn
index 1d0ba62cb88769892c6531d317b9e8b5243f0273..cfb797b38e9d9873772b39813db98e96de1e8673 100644
--- a/base/allocator/BUILD.gn
+++ b/base/allocator/BUILD.gn
@@ -202,6 +202,7 @@ if (use_allocator == "tcmalloc") {
"$tcmalloc_dir/src/windows/port.cc",
"$tcmalloc_dir/src/windows/port.h",
"debugallocation_shim.cc",
+ "tcmalloc_extension.cc",
# These are both #included by allocator_shim for maximal linking.
#"generic_allocators.cc",
@@ -287,6 +288,9 @@ if (use_allocator == "tcmalloc") {
"-Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapPKvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi",
"-Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapPKvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl",
"-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakChecker14UnIgnoreObjectEPKv",
+
+ # For InitializeAllocatorWeak function implementation for tcmalloc.
+ "-Wl,-u_ZN4base9allocator23InitializeAllocatorWeakEv",
]
}
« no previous file with comments | « no previous file | base/allocator/allocator.gyp » ('j') | base/allocator/allocator_extension.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698