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 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1206 } | 1206 } |
1207 } else { | 1207 } else { |
1208 # Remove NaCl stuff. | 1208 # Remove NaCl stuff. |
1209 sources -= [ | 1209 sources -= [ |
1210 "memory/shared_memory_nacl.cc", | 1210 "memory/shared_memory_nacl.cc", |
1211 "os_compat_nacl.cc", | 1211 "os_compat_nacl.cc", |
1212 "os_compat_nacl.h", | 1212 "os_compat_nacl.h", |
1213 "rand_util_nacl.cc", | 1213 "rand_util_nacl.cc", |
1214 "synchronization/read_write_lock_nacl.cc", | 1214 "synchronization/read_write_lock_nacl.cc", |
1215 ] | 1215 ] |
| 1216 |
| 1217 # Add stuff that doesn't work in NaCl. |
| 1218 sources += [ |
| 1219 # PartitionAlloc uses SpinLock, which doesn't work in NaCl (see below). |
| 1220 "allocator/partition_allocator/address_space_randomization.cc", |
| 1221 "allocator/partition_allocator/address_space_randomization.h", |
| 1222 "allocator/partition_allocator/page_allocator.cc", |
| 1223 "allocator/partition_allocator/page_allocator.h", |
| 1224 "allocator/partition_allocator/partition_alloc.cc", |
| 1225 "allocator/partition_allocator/partition_alloc.h", |
| 1226 "allocator/partition_allocator/partition_allocator.cc", |
| 1227 "allocator/partition_allocator/partition_allocator.h", |
| 1228 "allocator/partition_allocator/partitions.cc", |
| 1229 "allocator/partition_allocator/partitions.h", |
| 1230 |
| 1231 # SpinLock uses GNU-style inline assembly, which the pnacl-clang++ |
| 1232 # compiler doesn't allow. |
| 1233 "synchronization/spin_lock.cc", |
| 1234 "synchronization/spin_lock.h", |
| 1235 ] |
1216 } | 1236 } |
1217 | 1237 |
1218 # Windows. | 1238 # Windows. |
1219 if (is_win) { | 1239 if (is_win) { |
1220 sources += [ | 1240 sources += [ |
1221 "power_monitor/power_monitor_device_source_win.cc", | 1241 "power_monitor/power_monitor_device_source_win.cc", |
1222 "profiler/win32_stack_frame_unwinder.cc", | 1242 "profiler/win32_stack_frame_unwinder.cc", |
1223 "profiler/win32_stack_frame_unwinder.h", | 1243 "profiler/win32_stack_frame_unwinder.h", |
1224 ] | 1244 ] |
1225 | 1245 |
(...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2502 } | 2522 } |
2503 | 2523 |
2504 fuzzer_test("base_json_correctness_fuzzer") { | 2524 fuzzer_test("base_json_correctness_fuzzer") { |
2505 sources = [ | 2525 sources = [ |
2506 "json/correctness_fuzzer.cc", | 2526 "json/correctness_fuzzer.cc", |
2507 ] | 2527 ] |
2508 deps = [ | 2528 deps = [ |
2509 ":base", | 2529 ":base", |
2510 ] | 2530 ] |
2511 } | 2531 } |
OLD | NEW |