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

Unified Diff: base/allocator/BUILD.gn

Issue 1493893005: allocator cleanup: remove deprecated windows tc-malloc bits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@allocator_gyp
Patch Set: Rebase after brettw changes in crrev.com/1499773002 Created 5 years 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') | no next file with comments »
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 7c94b5d288104ffbb417df71dc462c6635542ffc..c1402265cee5db3948e2688137a94d19659953c3 100644
--- a/base/allocator/BUILD.gn
+++ b/base/allocator/BUILD.gn
@@ -220,34 +220,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",
- ]
-
- 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" ]
- }
-
if (enable_profiling) {
sources += [
"$tcmalloc_dir/src/base/thread_lister.c",
@@ -298,10 +270,6 @@ if (use_allocator == "tcmalloc") {
}
deps += [ "//base/third_party/dynamic_annotations" ]
-
- if (is_win) {
- ldflags = [ "/ignore:4006:4221" ]
- }
}
} # !is_android
« no previous file with comments | « no previous file | base/allocator/allocator.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698