| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 "//base/third_party/dynamic_annotations", | 233 "//base/third_party/dynamic_annotations", |
| 234 ] | 234 ] |
| 235 | 235 |
| 236 if (is_win) { | 236 if (is_win) { |
| 237 ldflags = [ "/ignore:4006:4221" ] | 237 ldflags = [ "/ignore:4006:4221" ] |
| 238 } | 238 } |
| 239 } | 239 } |
| 240 } # !is_android | 240 } # !is_android |
| 241 | 241 |
| 242 source_set("allocator_extension_thunks") { | 242 source_set("allocator_extension_thunks") { |
| 243 visibility = "//base/*" | 243 visibility = [ "//base/*" ] |
| 244 sources = [ | 244 sources = [ |
| 245 "allocator_extension_thunks.cc", | 245 "allocator_extension_thunks.cc", |
| 246 "allocator_extension_thunks.h", | 246 "allocator_extension_thunks.h", |
| 247 ] | 247 ] |
| 248 } | 248 } |
| OLD | NEW |