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

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

Issue 1505743002: Remove allocator_extension_thunks since this layer is not required (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@allocator_clean_win
Patch Set: rebase 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 | « base/BUILD.gn ('k') | base/allocator/allocator.gyp » ('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 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 # Make sure the allocation library is optimized as much as possible when 265 # Make sure the allocation library is optimized as much as possible when
266 # we"re in release mode. 266 # we"re in release mode.
267 if (!is_debug) { 267 if (!is_debug) {
268 configs -= [ "//build/config/compiler:default_optimization" ] 268 configs -= [ "//build/config/compiler:default_optimization" ]
269 configs += [ "//build/config/compiler:optimize_max" ] 269 configs += [ "//build/config/compiler:optimize_max" ]
270 } 270 }
271 271
272 deps += [ "//base/third_party/dynamic_annotations" ] 272 deps += [ "//base/third_party/dynamic_annotations" ]
273 } 273 }
274 } # !is_android 274 } # !is_android
275
276 source_set("extension_thunks") {
277 visibility = [ "//base/*" ]
278 sources = [
279 "allocator_extension_thunks.cc",
280 "allocator_extension_thunks.h",
281 ]
282 if (is_android && !is_debug) {
283 configs -= [ "//build/config/compiler:default_optimization" ]
284 configs += [ "//build/config/compiler:optimize_max" ]
285 }
286 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/allocator/allocator.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698