Index: base/allocator/BUILD.gn |
diff --git a/base/allocator/BUILD.gn b/base/allocator/BUILD.gn |
index ad781f8f86d685998867bf56b74bb1aefa20c134..81cdb617ff6352e348c149917047878eae66e84f 100644 |
--- a/base/allocator/BUILD.gn |
+++ b/base/allocator/BUILD.gn |
@@ -226,42 +226,6 @@ if (use_allocator == "tcmalloc") { |
deps = [] |
- if (is_win) { |
- sources -= [ |
- "$tcmalloc_dir/src/base/elf_mem_image.cc", |
- "$tcmalloc_dir/src/base/elf_mem_image.h", |
- "$tcmalloc_dir/src/base/linuxthreads.cc", |
- "$tcmalloc_dir/src/base/linuxthreads.h", |
- "$tcmalloc_dir/src/base/vdso_support.cc", |
- "$tcmalloc_dir/src/base/vdso_support.h", |
- "$tcmalloc_dir/src/maybe_threads.cc", |
- "$tcmalloc_dir/src/maybe_threads.h", |
- "$tcmalloc_dir/src/symbolize.h", |
- "$tcmalloc_dir/src/system-alloc.cc", |
- "$tcmalloc_dir/src/system-alloc.h", |
- |
- # cpuprofiler |
- "$tcmalloc_dir/src/base/thread_lister.c", |
- "$tcmalloc_dir/src/base/thread_lister.h", |
- "$tcmalloc_dir/src/profile-handler.cc", |
- "$tcmalloc_dir/src/profile-handler.h", |
- "$tcmalloc_dir/src/profiledata.cc", |
- "$tcmalloc_dir/src/profiledata.h", |
- "$tcmalloc_dir/src/profiler.cc", |
- ] |
- defines += [ "PERFTOOLS_DLL_DECL=" ] |
- |
- configs -= [ |
- # Tcmalloc defines this itself, and we don't want duplicate definition |
- # warnings. |
- "//build/config/win:nominmax", |
- ] |
- |
- public_configs = [ ":nocmt" ] |
- |
- deps += [ ":prep_libc" ] |
Ruud van Asseldonk
2015/12/04 17:25:37
Why can this be removed?
Primiano Tucci (use gerrit)
2015/12/04 17:40:21
becuse tcmalloc is not supported on android anymor
|
- } |
- |
if (is_linux || is_android) { |
sources -= [ |
"$tcmalloc_dir/src/system-alloc.h", |
@@ -299,10 +263,6 @@ if (use_allocator == "tcmalloc") { |
} |
deps += [ "//base/third_party/dynamic_annotations" ] |
- |
- if (is_win) { |
- ldflags = [ "/ignore:4006:4221" ] |
- } |
} |
} # !is_android |