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

Side by Side Diff: base/BUILD.gn

Issue 2713903002: Move spin_lock into partition_allocator. (Closed)
Patch Set: Remove unnecessary DEPS line. 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/partition_allocator/address_space_randomization.cc » ('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 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 # Add stuff that doesn't work in NaCl. 1304 # Add stuff that doesn't work in NaCl.
1305 sources += [ 1305 sources += [
1306 # PartitionAlloc uses SpinLock, which doesn't work in NaCl (see below). 1306 # PartitionAlloc uses SpinLock, which doesn't work in NaCl (see below).
1307 "allocator/partition_allocator/address_space_randomization.cc", 1307 "allocator/partition_allocator/address_space_randomization.cc",
1308 "allocator/partition_allocator/address_space_randomization.h", 1308 "allocator/partition_allocator/address_space_randomization.h",
1309 "allocator/partition_allocator/oom.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 "allocator/partition_allocator/spin_lock.cc",
1315 "allocator/partition_allocator/spin_lock.h",
1314 ] 1316 ]
1315 } 1317 }
1316 } 1318 }
1317 1319
1318 # SpinLock uses inline assembly that doesn't work on NaCl, and for which there
1319 # is no code for ARMv6.
1320 if (!is_nacl && (current_cpu != "arm" || arm_version >= 7)) {
1321 sources += [
1322 "synchronization/spin_lock.cc",
1323 "synchronization/spin_lock.h",
1324 ]
1325 }
1326
1327 # Windows. 1320 # Windows.
1328 if (is_win) { 1321 if (is_win) {
1329 sources += [ 1322 sources += [
1330 "power_monitor/power_monitor_device_source_win.cc", 1323 "power_monitor/power_monitor_device_source_win.cc",
1331 "profiler/win32_stack_frame_unwinder.cc", 1324 "profiler/win32_stack_frame_unwinder.cc",
1332 "profiler/win32_stack_frame_unwinder.h", 1325 "profiler/win32_stack_frame_unwinder.h",
1333 ] 1326 ]
1334 1327
1335 sources -= [ 1328 sources -= [
1336 "file_descriptor_store.cc", 1329 "file_descriptor_store.cc",
(...skipping 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after
2652 } 2645 }
2653 2646
2654 fuzzer_test("base_json_correctness_fuzzer") { 2647 fuzzer_test("base_json_correctness_fuzzer") {
2655 sources = [ 2648 sources = [
2656 "json/correctness_fuzzer.cc", 2649 "json/correctness_fuzzer.cc",
2657 ] 2650 ]
2658 deps = [ 2651 deps = [
2659 ":base", 2652 ":base",
2660 ] 2653 ]
2661 } 2654 }
OLDNEW
« no previous file with comments | « no previous file | base/allocator/partition_allocator/address_space_randomization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698