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

Side by Side Diff: base/BUILD.gn

Issue 2658723007: Hook up allocator shim on mac. (Closed)
Patch Set: remove a debugging test. Created 3 years, 10 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
« no previous file with comments | « no previous file | base/allocator/allocator_interception_mac.h » ('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 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 ] 1139 ]
1140 deps += [ "//base/allocator:tcmalloc" ] 1140 deps += [ "//base/allocator:tcmalloc" ]
1141 } else if (is_linux && use_allocator == "none") { 1141 } else if (is_linux && use_allocator == "none") {
1142 sources += [ "allocator/allocator_shim_default_dispatch_to_glibc.cc" ] 1142 sources += [ "allocator/allocator_shim_default_dispatch_to_glibc.cc" ]
1143 } else if (is_android && use_allocator == "none") { 1143 } else if (is_android && use_allocator == "none") {
1144 sources += [ 1144 sources += [
1145 "allocator/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc" , 1145 "allocator/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc" ,
1146 "allocator/allocator_shim_override_linker_wrapped_symbols.h", 1146 "allocator/allocator_shim_override_linker_wrapped_symbols.h",
1147 ] 1147 ]
1148 all_dependent_configs += [ "//base/allocator:wrap_malloc_symbols" ] 1148 all_dependent_configs += [ "//base/allocator:wrap_malloc_symbols" ]
1149 } else if (is_mac) {
1150 sources += [
1151 "allocator/allocator_shim_default_dispatch_to_mac_zoned_malloc.cc",
1152 "allocator/allocator_shim_default_dispatch_to_mac_zoned_malloc.h",
1153 "allocator/allocator_shim_override_mac_symbols.h",
1154 ]
1149 } 1155 }
1150 } 1156 }
1151 1157
1152 # Allow more direct string conversions on platforms with native utf8 1158 # Allow more direct string conversions on platforms with native utf8
1153 # strings 1159 # strings
1154 if (is_mac || is_ios || is_chromeos || is_chromecast) { 1160 if (is_mac || is_ios || is_chromeos || is_chromecast) {
1155 defines += [ "SYSTEM_NATIVE_UTF8" ] 1161 defines += [ "SYSTEM_NATIVE_UTF8" ]
1156 } 1162 }
1157 1163
1158 # Android. 1164 # Android.
(...skipping 1464 matching lines...) Expand 10 before | Expand all | Expand 10 after
2623 } 2629 }
2624 2630
2625 fuzzer_test("base_json_correctness_fuzzer") { 2631 fuzzer_test("base_json_correctness_fuzzer") {
2626 sources = [ 2632 sources = [
2627 "json/correctness_fuzzer.cc", 2633 "json/correctness_fuzzer.cc",
2628 ] 2634 ]
2629 deps = [ 2635 deps = [
2630 ":base", 2636 ":base",
2631 ] 2637 ]
2632 } 2638 }
OLDNEW
« no previous file with comments | « no previous file | base/allocator/allocator_interception_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698