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 | 6 |
7 # Only executables and not libraries should depend on the allocator target; | 7 # Only executables and not libraries should depend on the allocator target; |
8 # only the application (the final executable) knows what allocator makes sense. | 8 # only the application (the final executable) knows what allocator makes sense. |
9 # This "allocator" meta-target will forward to the default allocator according | 9 # This "allocator" meta-target will forward to the default allocator according |
10 # to the build settings. | 10 # to the build settings. |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 # and checked in. | 56 # and checked in. |
57 "$tcmalloc_dir/src/config.h", | 57 "$tcmalloc_dir/src/config.h", |
58 "$tcmalloc_dir/src/config_android.h", | 58 "$tcmalloc_dir/src/config_android.h", |
59 "$tcmalloc_dir/src/config_linux.h", | 59 "$tcmalloc_dir/src/config_linux.h", |
60 "$tcmalloc_dir/src/config_win.h", | 60 "$tcmalloc_dir/src/config_win.h", |
61 | 61 |
62 # tcmalloc native and forked files. | 62 # tcmalloc native and forked files. |
63 "$tcmalloc_dir/src/base/abort.cc", | 63 "$tcmalloc_dir/src/base/abort.cc", |
64 "$tcmalloc_dir/src/base/abort.h", | 64 "$tcmalloc_dir/src/base/abort.h", |
65 "$tcmalloc_dir/src/base/arm_instruction_set_select.h", | 65 "$tcmalloc_dir/src/base/arm_instruction_set_select.h", |
| 66 "$tcmalloc_dir/src/base/atomicops-internals-arm-generic.h", |
| 67 "$tcmalloc_dir/src/base/atomicops-internals-arm-v6plus.h", |
| 68 "$tcmalloc_dir/src/base/atomicops-internals-linuxppc.h", |
| 69 "$tcmalloc_dir/src/base/atomicops-internals-macosx.h", |
| 70 "$tcmalloc_dir/src/base/atomicops-internals-windows.h", |
| 71 "$tcmalloc_dir/src/base/atomicops-internals-x86.cc", |
| 72 "$tcmalloc_dir/src/base/atomicops-internals-x86.h", |
| 73 "$tcmalloc_dir/src/base/atomicops.h", |
| 74 "$tcmalloc_dir/src/base/basictypes.h", |
| 75 "$tcmalloc_dir/src/base/commandlineflags.h", |
| 76 "$tcmalloc_dir/src/base/cycleclock.h", |
66 | 77 |
67 # We don't list dynamic_annotations.c since its copy is already | 78 # We don't list dynamic_annotations.c since its copy is already |
68 # present in the dynamic_annotations target. | 79 # present in the dynamic_annotations target. |
69 "$tcmalloc_dir/src/base/elf_mem_image.cc", | 80 "$tcmalloc_dir/src/base/elf_mem_image.cc", |
70 "$tcmalloc_dir/src/base/elf_mem_image.h", | 81 "$tcmalloc_dir/src/base/elf_mem_image.h", |
71 "$tcmalloc_dir/src/base/linuxthreads.cc", | 82 "$tcmalloc_dir/src/base/linuxthreads.cc", |
72 "$tcmalloc_dir/src/base/linuxthreads.h", | 83 "$tcmalloc_dir/src/base/linuxthreads.h", |
73 "$tcmalloc_dir/src/base/logging.cc", | 84 "$tcmalloc_dir/src/base/logging.cc", |
74 "$tcmalloc_dir/src/base/logging.h", | 85 "$tcmalloc_dir/src/base/logging.h", |
75 "$tcmalloc_dir/src/base/low_level_alloc.cc", | 86 "$tcmalloc_dir/src/base/low_level_alloc.cc", |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 visibility = [ "//base/*" ] | 261 visibility = [ "//base/*" ] |
251 sources = [ | 262 sources = [ |
252 "allocator_extension_thunks.cc", | 263 "allocator_extension_thunks.cc", |
253 "allocator_extension_thunks.h", | 264 "allocator_extension_thunks.h", |
254 ] | 265 ] |
255 if (is_android && !is_debug) { | 266 if (is_android && !is_debug) { |
256 configs -= [ "//build/config/compiler:optimize" ] | 267 configs -= [ "//build/config/compiler:optimize" ] |
257 configs += [ "//build/config/compiler:optimize_max" ] | 268 configs += [ "//build/config/compiler:optimize_max" ] |
258 } | 269 } |
259 } | 270 } |
OLD | NEW |