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

Side by Side Diff: base/BUILD.gn

Issue 2705413003: Move oom.h into partition_allocator. (Closed)
Patch Set: IWYU: Assertions.h. 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/oom.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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 } 145 }
146 146
147 sources = [ 147 sources = [
148 "allocator/allocator_check.cc", 148 "allocator/allocator_check.cc",
149 "allocator/allocator_check.h", 149 "allocator/allocator_check.h",
150 "allocator/allocator_extension.cc", 150 "allocator/allocator_extension.cc",
151 "allocator/allocator_extension.h", 151 "allocator/allocator_extension.h",
152 "allocator/allocator_interception_mac.h", 152 "allocator/allocator_interception_mac.h",
153 "allocator/allocator_interception_mac.mm", 153 "allocator/allocator_interception_mac.mm",
154 "allocator/allocator_shim.h", 154 "allocator/allocator_shim.h",
155 "allocator/oom.h",
156 "android/animation_frame_time_histogram.cc", 155 "android/animation_frame_time_histogram.cc",
157 "android/animation_frame_time_histogram.h", 156 "android/animation_frame_time_histogram.h",
158 "android/apk_assets.cc", 157 "android/apk_assets.cc",
159 "android/apk_assets.h", 158 "android/apk_assets.h",
160 "android/application_status_listener.cc", 159 "android/application_status_listener.cc",
161 "android/application_status_listener.h", 160 "android/application_status_listener.h",
162 "android/base_jni_onload.cc", 161 "android/base_jni_onload.cc",
163 "android/base_jni_onload.h", 162 "android/base_jni_onload.h",
164 "android/base_jni_registrar.cc", 163 "android/base_jni_registrar.cc",
165 "android/base_jni_registrar.h", 164 "android/base_jni_registrar.h",
(...skipping 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1300 "rand_util_nacl.cc", 1299 "rand_util_nacl.cc",
1301 "synchronization/read_write_lock_nacl.cc", 1300 "synchronization/read_write_lock_nacl.cc",
1302 ] 1301 ]
1303 1302
1304 if (use_partition_alloc) { 1303 if (use_partition_alloc) {
1305 # Add stuff that doesn't work in NaCl. 1304 # Add stuff that doesn't work in NaCl.
1306 sources += [ 1305 sources += [
1307 # PartitionAlloc uses SpinLock, which doesn't work in NaCl (see below). 1306 # PartitionAlloc uses SpinLock, which doesn't work in NaCl (see below).
1308 "allocator/partition_allocator/address_space_randomization.cc", 1307 "allocator/partition_allocator/address_space_randomization.cc",
1309 "allocator/partition_allocator/address_space_randomization.h", 1308 "allocator/partition_allocator/address_space_randomization.h",
1309 "allocator/partition_allocator/oom.h",
1310 "allocator/partition_allocator/page_allocator.cc", 1310 "allocator/partition_allocator/page_allocator.cc",
1311 "allocator/partition_allocator/page_allocator.h", 1311 "allocator/partition_allocator/page_allocator.h",
1312 "allocator/partition_allocator/partition_alloc.cc", 1312 "allocator/partition_allocator/partition_alloc.cc",
1313 "allocator/partition_allocator/partition_alloc.h", 1313 "allocator/partition_allocator/partition_alloc.h",
1314 ] 1314 ]
1315 } 1315 }
1316 } 1316 }
1317 1317
1318 # SpinLock uses inline assembly that doesn't work on NaCl, and for which there 1318 # SpinLock uses inline assembly that doesn't work on NaCl, and for which there
1319 # is no code for ARMv6. 1319 # is no code for ARMv6.
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after
2652 } 2652 }
2653 2653
2654 fuzzer_test("base_json_correctness_fuzzer") { 2654 fuzzer_test("base_json_correctness_fuzzer") {
2655 sources = [ 2655 sources = [
2656 "json/correctness_fuzzer.cc", 2656 "json/correctness_fuzzer.cc",
2657 ] 2657 ]
2658 deps = [ 2658 deps = [
2659 ":base", 2659 ":base",
2660 ] 2660 ]
2661 } 2661 }
OLDNEW
« no previous file with comments | « no previous file | base/allocator/oom.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698