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

Side by Side Diff: base/BUILD.gn

Issue 2658723007: Hook up allocator shim on mac. (Closed)
Patch Set: Rebase. 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
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 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after
1137 ] 1137 ]
1138 deps += [ "//base/allocator:tcmalloc" ] 1138 deps += [ "//base/allocator:tcmalloc" ]
1139 } else if (is_linux && use_allocator == "none") { 1139 } else if (is_linux && use_allocator == "none") {
1140 sources += [ "allocator/allocator_shim_default_dispatch_to_glibc.cc" ] 1140 sources += [ "allocator/allocator_shim_default_dispatch_to_glibc.cc" ]
1141 } else if (is_android && use_allocator == "none") { 1141 } else if (is_android && use_allocator == "none") {
1142 sources += [ 1142 sources += [
1143 "allocator/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc" , 1143 "allocator/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc" ,
1144 "allocator/allocator_shim_override_linker_wrapped_symbols.h", 1144 "allocator/allocator_shim_override_linker_wrapped_symbols.h",
1145 ] 1145 ]
1146 all_dependent_configs += [ "//base/allocator:wrap_malloc_symbols" ] 1146 all_dependent_configs += [ "//base/allocator:wrap_malloc_symbols" ]
1147 } else if (is_mac) {
1148 sources += [
1149 "allocator/allocator_shim_default_dispatch_to_zoned_malloc.cc",
Primiano Tucci (use gerrit) 2017/01/28 05:10:02 since this is mac only, can those two files have "
erikchen 2017/01/31 02:21:22 Done.
1150 "allocator/allocator_shim_default_dispatch_to_zoned_malloc.h",
1151 "allocator/allocator_shim_override_mac_symbols.h",
1152 ]
1147 } 1153 }
1148 } 1154 }
1149 1155
1150 # Allow more direct string conversions on platforms with native utf8 1156 # Allow more direct string conversions on platforms with native utf8
1151 # strings 1157 # strings
1152 if (is_mac || is_ios || is_chromeos || is_chromecast) { 1158 if (is_mac || is_ios || is_chromeos || is_chromecast) {
1153 defines += [ "SYSTEM_NATIVE_UTF8" ] 1159 defines += [ "SYSTEM_NATIVE_UTF8" ]
1154 } 1160 }
1155 1161
1156 # Android. 1162 # Android.
(...skipping 1461 matching lines...) Expand 10 before | Expand all | Expand 10 after
2618 } 2624 }
2619 2625
2620 fuzzer_test("base_json_correctness_fuzzer") { 2626 fuzzer_test("base_json_correctness_fuzzer") {
2621 sources = [ 2627 sources = [
2622 "json/correctness_fuzzer.cc", 2628 "json/correctness_fuzzer.cc",
2623 ] 2629 ]
2624 deps = [ 2630 deps = [
2625 ":base", 2631 ":base",
2626 ] 2632 ]
2627 } 2633 }
OLDNEW
« no previous file with comments | « no previous file | base/allocator/allocator_interception_mac.h » ('j') | base/allocator/allocator_interception_mac.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698