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

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

Issue 1715903002: Adapt upstream patches fixing potential deadlock in tcmalloc after fork. Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Updated README Created 4 years, 10 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.gyp » ('j') | no next file with comments »
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/config/allocator.gni") 5 import("//build/config/allocator.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 7
8 if (is_win) { 8 if (is_win) {
9 import("//build/config/win/visual_studio_version.gni") 9 import("//build/config/win/visual_studio_version.gni")
10 } 10 }
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 ] 284 ]
285 } 285 }
286 286
287 # Make sure the allocation library is optimized as much as possible when 287 # Make sure the allocation library is optimized as much as possible when
288 # we"re in release mode. 288 # we"re in release mode.
289 if (!is_debug) { 289 if (!is_debug) {
290 configs -= [ "//build/config/compiler:default_optimization" ] 290 configs -= [ "//build/config/compiler:default_optimization" ]
291 configs += [ "//build/config/compiler:optimize_max" ] 291 configs += [ "//build/config/compiler:optimize_max" ]
292 } 292 }
293 293
294 if (is_linux) {
295 defines += [ "HAVE_FORK" ]
296 }
297
294 deps += [ "//base/third_party/dynamic_annotations" ] 298 deps += [ "//base/third_party/dynamic_annotations" ]
295 } 299 }
296 } # use_allocator == "tcmalloc" 300 } # use_allocator == "tcmalloc"
OLDNEW
« 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