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

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

Issue 1487403002: Remove allocator_extension_thunks since this layer is not required (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove NULL 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
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 declare_args() { 7 declare_args() {
8 # Provide a way to force disable debugallocation in Debug builds, 8 # Provide a way to force disable debugallocation in Debug builds,
9 # e.g. for profiling (it's more rare to profile Debug builds, 9 # e.g. for profiling (it's more rare to profile Debug builds,
10 # but people sometimes need to do that). 10 # but people sometimes need to do that).
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 configs += [ "//build/config/compiler:optimize_max" ] 298 configs += [ "//build/config/compiler:optimize_max" ]
299 } 299 }
300 300
301 deps += [ "//base/third_party/dynamic_annotations" ] 301 deps += [ "//base/third_party/dynamic_annotations" ]
302 302
303 if (is_win) { 303 if (is_win) {
304 ldflags = [ "/ignore:4006:4221" ] 304 ldflags = [ "/ignore:4006:4221" ]
305 } 305 }
306 } 306 }
307 } # !is_android 307 } # !is_android
308
309 source_set("extension_thunks") {
310 visibility = [ "//base/*" ]
311 sources = [
312 "allocator_extension_thunks.cc",
313 "allocator_extension_thunks.h",
314 ]
315 if (is_android && !is_debug) {
316 configs -= [ "//build/config/compiler:default_optimization" ]
317 configs += [ "//build/config/compiler:optimize_max" ]
318 }
319 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698