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

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

Issue 1489403002: allocator cleanup: Reorganize allocator.gyp for cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment 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 unified diff | Download patch
« no previous file with comments | « no previous file | base/allocator/allocator.gyp » ('j') | base/allocator/allocator.gyp » ('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/config/allocator.gni") 5 import("//build/config/allocator.gni")
6 6
7 declare_args() { 7 declare_args() {
8 # Provide a way to force disable debugallocation in Debug builds, 8 # Provide a way to force disable debugallocation in Debug builds,
9 # e.g. for profiling (it's more rare to profile Debug builds, 9 # e.g. for profiling (it's more rare to profile Debug builds,
10 # but people sometimes need to do that). 10 # but people sometimes need to do that).
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 # cpuprofiler 243 # cpuprofiler
244 "$tcmalloc_dir/src/base/thread_lister.c", 244 "$tcmalloc_dir/src/base/thread_lister.c",
245 "$tcmalloc_dir/src/base/thread_lister.h", 245 "$tcmalloc_dir/src/base/thread_lister.h",
246 "$tcmalloc_dir/src/profile-handler.cc", 246 "$tcmalloc_dir/src/profile-handler.cc",
247 "$tcmalloc_dir/src/profile-handler.h", 247 "$tcmalloc_dir/src/profile-handler.h",
248 "$tcmalloc_dir/src/profiledata.cc", 248 "$tcmalloc_dir/src/profiledata.cc",
249 "$tcmalloc_dir/src/profiledata.h", 249 "$tcmalloc_dir/src/profiledata.h",
250 "$tcmalloc_dir/src/profiler.cc", 250 "$tcmalloc_dir/src/profiler.cc",
251 ] 251 ]
252 defines += [ "PERFTOOLS_DLL_DECL=" ]
253 252
254 configs -= [ 253 configs -= [
255 # Tcmalloc defines this itself, and we don't want duplicate definition 254 # Tcmalloc defines this itself, and we don't want duplicate definition
256 # warnings. 255 # warnings.
257 "//build/config/win:nominmax", 256 "//build/config/win:nominmax",
258 ] 257 ]
259 258
260 public_configs = [ ":nocmt" ] 259 public_configs = [ ":nocmt" ]
261 260
262 deps += [ ":prep_libc" ] 261 deps += [ ":prep_libc" ]
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 visibility = [ "//base/*" ] 309 visibility = [ "//base/*" ]
311 sources = [ 310 sources = [
312 "allocator_extension_thunks.cc", 311 "allocator_extension_thunks.cc",
313 "allocator_extension_thunks.h", 312 "allocator_extension_thunks.h",
314 ] 313 ]
315 if (is_android && !is_debug) { 314 if (is_android && !is_debug) {
316 configs -= [ "//build/config/compiler:default_optimization" ] 315 configs -= [ "//build/config/compiler:default_optimization" ]
317 configs += [ "//build/config/compiler:optimize_max" ] 316 configs += [ "//build/config/compiler:optimize_max" ]
318 } 317 }
319 } 318 }
OLDNEW
« no previous file with comments | « no previous file | base/allocator/allocator.gyp » ('j') | base/allocator/allocator.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698