Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 declare_args() { | 8 declare_args() { |
| 9 # Provide a way to force disable debugallocation in Debug builds, | 9 # Provide a way to force disable debugallocation in Debug builds, |
| 10 # e.g. for profiling (it's more rare to profile Debug builds, | 10 # e.g. for profiling (it's more rare to profile Debug builds, |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 119 "$tcmalloc_dir/src/config_win.h", | 119 "$tcmalloc_dir/src/config_win.h", |
| 120 | 120 |
| 121 # tcmalloc native and forked files. | 121 # tcmalloc native and forked files. |
| 122 "$tcmalloc_dir/src/base/abort.cc", | 122 "$tcmalloc_dir/src/base/abort.cc", |
| 123 "$tcmalloc_dir/src/base/abort.h", | 123 "$tcmalloc_dir/src/base/abort.h", |
| 124 "$tcmalloc_dir/src/base/arm_instruction_set_select.h", | 124 "$tcmalloc_dir/src/base/arm_instruction_set_select.h", |
| 125 "$tcmalloc_dir/src/base/atomicops-internals-macosx.h", | 125 "$tcmalloc_dir/src/base/atomicops-internals-macosx.h", |
| 126 "$tcmalloc_dir/src/base/atomicops-internals-windows.h", | 126 "$tcmalloc_dir/src/base/atomicops-internals-windows.h", |
| 127 "$tcmalloc_dir/src/base/atomicops.h", | 127 "$tcmalloc_dir/src/base/atomicops.h", |
| 128 "$tcmalloc_dir/src/base/atomicops_internals_portable.h", | 128 "$tcmalloc_dir/src/base/atomicops_internals_portable.h", |
| 129 "$tcmalloc_dir/src/base/basictypes.h", | |
|
Nico
2017/04/13 15:29:51
This referred to third_party/tcmalloc/chromium/src
Avi (use Gerrit)
2017/04/13 16:18:57
Oops. Thank you.
| |
| 130 "$tcmalloc_dir/src/base/commandlineflags.h", | 129 "$tcmalloc_dir/src/base/commandlineflags.h", |
| 131 "$tcmalloc_dir/src/base/cycleclock.h", | 130 "$tcmalloc_dir/src/base/cycleclock.h", |
| 132 | 131 |
| 133 # We don't list dynamic_annotations.c since its copy is already | 132 # We don't list dynamic_annotations.c since its copy is already |
| 134 # present in the dynamic_annotations target. | 133 # present in the dynamic_annotations target. |
| 135 "$tcmalloc_dir/src/base/elf_mem_image.cc", | 134 "$tcmalloc_dir/src/base/elf_mem_image.cc", |
| 136 "$tcmalloc_dir/src/base/elf_mem_image.h", | 135 "$tcmalloc_dir/src/base/elf_mem_image.h", |
| 137 "$tcmalloc_dir/src/base/linuxthreads.cc", | 136 "$tcmalloc_dir/src/base/linuxthreads.cc", |
| 138 "$tcmalloc_dir/src/base/linuxthreads.h", | 137 "$tcmalloc_dir/src/base/linuxthreads.h", |
| 139 "$tcmalloc_dir/src/base/logging.cc", | 138 "$tcmalloc_dir/src/base/logging.cc", |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 264 # Make sure the allocation library is optimized as much as possible when | 263 # Make sure the allocation library is optimized as much as possible when |
| 265 # we"re in release mode. | 264 # we"re in release mode. |
| 266 if (!is_debug) { | 265 if (!is_debug) { |
| 267 configs -= [ "//build/config/compiler:default_optimization" ] | 266 configs -= [ "//build/config/compiler:default_optimization" ] |
| 268 configs += [ "//build/config/compiler:optimize_max" ] | 267 configs += [ "//build/config/compiler:optimize_max" ] |
| 269 } | 268 } |
| 270 | 269 |
| 271 deps += [ "//base/third_party/dynamic_annotations" ] | 270 deps += [ "//base/third_party/dynamic_annotations" ] |
| 272 } | 271 } |
| 273 } # !is_android | 272 } # !is_android |
| OLD | NEW |