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

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

Issue 290633012: Fix GN win build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « base/BUILD.gn ('k') | tools/gn/secondary/third_party/nss/BUILD.gn » ('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 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 16 matching lines...) Expand all
27 "$tcmalloc_dir/src/config_linux.h", 27 "$tcmalloc_dir/src/config_linux.h",
28 "$tcmalloc_dir/src/config_win.h", 28 "$tcmalloc_dir/src/config_win.h",
29 29
30 # tcmalloc native and forked files. 30 # tcmalloc native and forked files.
31 "$tcmalloc_dir/src/base/abort.cc", 31 "$tcmalloc_dir/src/base/abort.cc",
32 "$tcmalloc_dir/src/base/abort.h", 32 "$tcmalloc_dir/src/base/abort.h",
33 "$tcmalloc_dir/src/base/arm_instruction_set_select.h", 33 "$tcmalloc_dir/src/base/arm_instruction_set_select.h",
34 # We don't list dynamic_annotations.c since its copy is already 34 # We don't list dynamic_annotations.c since its copy is already
35 # present in the dynamic_annotations target. 35 # present in the dynamic_annotations target.
36 "$tcmalloc_dir/src/base/elf_mem_image.cc", 36 "$tcmalloc_dir/src/base/elf_mem_image.cc",
37 "$tcmalloc_dir/src/base/elf_mem_image.h",
37 "$tcmalloc_dir/src/base/linuxthreads.cc", 38 "$tcmalloc_dir/src/base/linuxthreads.cc",
38 "$tcmalloc_dir/src/base/linuxthreads.h", 39 "$tcmalloc_dir/src/base/linuxthreads.h",
39 "$tcmalloc_dir/src/base/logging.cc", 40 "$tcmalloc_dir/src/base/logging.cc",
40 "$tcmalloc_dir/src/base/logging.h", 41 "$tcmalloc_dir/src/base/logging.h",
41 "$tcmalloc_dir/src/base/low_level_alloc.cc", 42 "$tcmalloc_dir/src/base/low_level_alloc.cc",
42 "$tcmalloc_dir/src/base/low_level_alloc.h", 43 "$tcmalloc_dir/src/base/low_level_alloc.h",
43 "$tcmalloc_dir/src/base/spinlock.cc", 44 "$tcmalloc_dir/src/base/spinlock.cc",
44 "$tcmalloc_dir/src/base/spinlock.h", 45 "$tcmalloc_dir/src/base/spinlock.h",
45 "$tcmalloc_dir/src/base/spinlock_internal.cc", 46 "$tcmalloc_dir/src/base/spinlock_internal.cc",
46 "$tcmalloc_dir/src/base/spinlock_internal.h", 47 "$tcmalloc_dir/src/base/spinlock_internal.h",
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 144
144 # cpuprofiler 145 # cpuprofiler
145 "$tcmalloc_dir/src/base/thread_lister.c", 146 "$tcmalloc_dir/src/base/thread_lister.c",
146 "$tcmalloc_dir/src/base/thread_lister.h", 147 "$tcmalloc_dir/src/base/thread_lister.h",
147 "$tcmalloc_dir/src/profiledata.cc", 148 "$tcmalloc_dir/src/profiledata.cc",
148 "$tcmalloc_dir/src/profiledata.h", 149 "$tcmalloc_dir/src/profiledata.h",
149 "$tcmalloc_dir/src/profile-handler.cc", 150 "$tcmalloc_dir/src/profile-handler.cc",
150 "$tcmalloc_dir/src/profile-handler.h", 151 "$tcmalloc_dir/src/profile-handler.h",
151 "$tcmalloc_dir/src/profiler.cc", 152 "$tcmalloc_dir/src/profiler.cc",
152 ] 153 ]
153 defines = [ "PERFTOOLS_DLL_DECL=" ] 154 defines += [ "PERFTOOLS_DLL_DECL=" ]
154 } 155 }
155 if (is_linux || is_android) { 156 if (is_linux || is_android) {
156 sources -= [ 157 sources -= [
157 "$tcmalloc_dir/src/system-alloc.h", 158 "$tcmalloc_dir/src/system-alloc.h",
158 "$tcmalloc_dir/src/windows/port.cc", 159 "$tcmalloc_dir/src/windows/port.cc",
159 "$tcmalloc_dir/src/windows/port.h", 160 "$tcmalloc_dir/src/windows/port.h",
160 161
161 # TODO(willchan): Support allocator shim later on. 162 # TODO(willchan): Support allocator shim later on.
162 "allocator_shim.cc", 163 "allocator_shim.cc",
163 ] 164 ]
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 } 201 }
201 } # !is_android 202 } # !is_android
202 203
203 source_set("allocator_extension_thunks") { 204 source_set("allocator_extension_thunks") {
204 visibility = "//base/*" 205 visibility = "//base/*"
205 sources = [ 206 sources = [
206 "allocator_extension_thunks.cc", 207 "allocator_extension_thunks.cc",
207 "allocator_extension_thunks.h", 208 "allocator_extension_thunks.h",
208 ] 209 ]
209 } 210 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | tools/gn/secondary/third_party/nss/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698