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

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

Issue 305513003: Add ppapi, improve Windows GN 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 | « BUILD.gn ('k') | build/config/BUILDCONFIG.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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 "$tcmalloc_dir/src/base/thread_lister.c", 171 "$tcmalloc_dir/src/base/thread_lister.c",
172 "$tcmalloc_dir/src/base/thread_lister.h", 172 "$tcmalloc_dir/src/base/thread_lister.h",
173 "$tcmalloc_dir/src/profiledata.cc", 173 "$tcmalloc_dir/src/profiledata.cc",
174 "$tcmalloc_dir/src/profiledata.h", 174 "$tcmalloc_dir/src/profiledata.h",
175 "$tcmalloc_dir/src/profile-handler.cc", 175 "$tcmalloc_dir/src/profile-handler.cc",
176 "$tcmalloc_dir/src/profile-handler.h", 176 "$tcmalloc_dir/src/profile-handler.h",
177 "$tcmalloc_dir/src/profiler.cc", 177 "$tcmalloc_dir/src/profiler.cc",
178 ] 178 ]
179 defines += [ "PERFTOOLS_DLL_DECL=" ] 179 defines += [ "PERFTOOLS_DLL_DECL=" ]
180 180
181 configs -= [
182 # Tcmalloc defines this itself, and we don't want duplicate definition
183 # warnings.
184 "//build/config/win:nominmax",
185 ]
186
181 direct_dependent_configs = [ ":nocmt" ] 187 direct_dependent_configs = [ ":nocmt" ]
182 188
183 deps += [ 189 deps += [
184 ":prep_libc", 190 ":prep_libc",
185 ] 191 ]
186 } 192 }
187 193
188 if (is_linux || is_android) { 194 if (is_linux || is_android) {
189 sources -= [ 195 sources -= [
190 "$tcmalloc_dir/src/system-alloc.h", 196 "$tcmalloc_dir/src/system-alloc.h",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 } 239 }
234 } # !is_android 240 } # !is_android
235 241
236 source_set("allocator_extension_thunks") { 242 source_set("allocator_extension_thunks") {
237 visibility = "//base/*" 243 visibility = "//base/*"
238 sources = [ 244 sources = [
239 "allocator_extension_thunks.cc", 245 "allocator_extension_thunks.cc",
240 "allocator_extension_thunks.h", 246 "allocator_extension_thunks.h",
241 ] 247 ]
242 } 248 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | build/config/BUILDCONFIG.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698