| 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 # 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |