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

Side by Side Diff: base/BUILD.gn

Issue 1988563002: Create a reader-writer lock implementaiton in base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move to base::subtle and add a warning Created 4 years, 7 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/base.gyp » ('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 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 "synchronization/cancellation_flag.cc", 725 "synchronization/cancellation_flag.cc",
726 "synchronization/cancellation_flag.h", 726 "synchronization/cancellation_flag.h",
727 "synchronization/condition_variable.h", 727 "synchronization/condition_variable.h",
728 "synchronization/condition_variable_posix.cc", 728 "synchronization/condition_variable_posix.cc",
729 "synchronization/condition_variable_win.cc", 729 "synchronization/condition_variable_win.cc",
730 "synchronization/lock.cc", 730 "synchronization/lock.cc",
731 "synchronization/lock.h", 731 "synchronization/lock.h",
732 "synchronization/lock_impl.h", 732 "synchronization/lock_impl.h",
733 "synchronization/lock_impl_posix.cc", 733 "synchronization/lock_impl_posix.cc",
734 "synchronization/lock_impl_win.cc", 734 "synchronization/lock_impl_win.cc",
735 "synchronization/read_write_lock.h",
736 "synchronization/read_write_lock_nacl.cc",
737 "synchronization/read_write_lock_posix.cc",
738 "synchronization/read_write_lock_win.cc",
735 "synchronization/spin_wait.h", 739 "synchronization/spin_wait.h",
736 "synchronization/waitable_event.h", 740 "synchronization/waitable_event.h",
737 "synchronization/waitable_event_posix.cc", 741 "synchronization/waitable_event_posix.cc",
738 "synchronization/waitable_event_watcher.h", 742 "synchronization/waitable_event_watcher.h",
739 "synchronization/waitable_event_watcher_posix.cc", 743 "synchronization/waitable_event_watcher_posix.cc",
740 "synchronization/waitable_event_watcher_win.cc", 744 "synchronization/waitable_event_watcher_win.cc",
741 "synchronization/waitable_event_win.cc", 745 "synchronization/waitable_event_win.cc",
742 "sys_byteorder.h", 746 "sys_byteorder.h",
743 "sys_info.cc", 747 "sys_info.cc",
744 "sys_info.h", 748 "sys_info.h",
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 "process/kill.h", 1121 "process/kill.h",
1118 "process/memory.cc", 1122 "process/memory.cc",
1119 "process/memory.h", 1123 "process/memory.h",
1120 "process/process_iterator.cc", 1124 "process/process_iterator.cc",
1121 "process/process_iterator.h", 1125 "process/process_iterator.h",
1122 "process/process_metrics.cc", 1126 "process/process_metrics.cc",
1123 "process/process_metrics_posix.cc", 1127 "process/process_metrics_posix.cc",
1124 "process/process_posix.cc", 1128 "process/process_posix.cc",
1125 "scoped_native_library.cc", 1129 "scoped_native_library.cc",
1126 "sync_socket_posix.cc", 1130 "sync_socket_posix.cc",
1131 "synchronization/read_write_lock_posix.cc",
1127 "sys_info.cc", 1132 "sys_info.cc",
1128 "sys_info_posix.cc", 1133 "sys_info_posix.cc",
1129 "trace_event/trace_event_system_stats_monitor.cc", 1134 "trace_event/trace_event_system_stats_monitor.cc",
1130 ] 1135 ]
1131 1136
1132 if (is_nacl_nonsfi) { 1137 if (is_nacl_nonsfi) {
1133 set_sources_assignment_filter([]) 1138 set_sources_assignment_filter([])
1134 sources += [ "posix/unix_domain_socket_linux.cc" ] 1139 sources += [ "posix/unix_domain_socket_linux.cc" ]
1135 set_sources_assignment_filter(sources_assignment_filter) 1140 set_sources_assignment_filter(sources_assignment_filter)
1136 sources -= [ "rand_util_nacl.cc" ] 1141 sources -= [ "rand_util_nacl.cc" ]
(...skipping 14 matching lines...) Expand all
1151 "rand_util_posix.cc", 1156 "rand_util_posix.cc",
1152 ] 1157 ]
1153 } 1158 }
1154 } else { 1159 } else {
1155 # Remove NaCl stuff. 1160 # Remove NaCl stuff.
1156 sources -= [ 1161 sources -= [
1157 "memory/shared_memory_nacl.cc", 1162 "memory/shared_memory_nacl.cc",
1158 "os_compat_nacl.cc", 1163 "os_compat_nacl.cc",
1159 "os_compat_nacl.h", 1164 "os_compat_nacl.h",
1160 "rand_util_nacl.cc", 1165 "rand_util_nacl.cc",
1166 "synchronization/read_write_lock_nacl.cc",
1161 ] 1167 ]
1162 } 1168 }
1163 1169
1164 # Windows. 1170 # Windows.
1165 if (is_win) { 1171 if (is_win) {
1166 sources += [ 1172 sources += [
1167 "profiler/win32_stack_frame_unwinder.cc", 1173 "profiler/win32_stack_frame_unwinder.cc",
1168 "profiler/win32_stack_frame_unwinder.h", 1174 "profiler/win32_stack_frame_unwinder.h",
1169 ] 1175 ]
1170 1176
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
1847 "strings/stringprintf_unittest.cc", 1853 "strings/stringprintf_unittest.cc",
1848 "strings/sys_string_conversions_mac_unittest.mm", 1854 "strings/sys_string_conversions_mac_unittest.mm",
1849 "strings/sys_string_conversions_unittest.cc", 1855 "strings/sys_string_conversions_unittest.cc",
1850 "strings/utf_offset_string_conversions_unittest.cc", 1856 "strings/utf_offset_string_conversions_unittest.cc",
1851 "strings/utf_string_conversions_unittest.cc", 1857 "strings/utf_string_conversions_unittest.cc",
1852 "supports_user_data_unittest.cc", 1858 "supports_user_data_unittest.cc",
1853 "sync_socket_unittest.cc", 1859 "sync_socket_unittest.cc",
1854 "synchronization/cancellation_flag_unittest.cc", 1860 "synchronization/cancellation_flag_unittest.cc",
1855 "synchronization/condition_variable_unittest.cc", 1861 "synchronization/condition_variable_unittest.cc",
1856 "synchronization/lock_unittest.cc", 1862 "synchronization/lock_unittest.cc",
1863 "synchronization/read_write_lock_unittest.cc",
1857 "synchronization/waitable_event_unittest.cc", 1864 "synchronization/waitable_event_unittest.cc",
1858 "synchronization/waitable_event_watcher_unittest.cc", 1865 "synchronization/waitable_event_watcher_unittest.cc",
1859 "sys_info_unittest.cc", 1866 "sys_info_unittest.cc",
1860 "system_monitor/system_monitor_unittest.cc", 1867 "system_monitor/system_monitor_unittest.cc",
1861 "task/cancelable_task_tracker_unittest.cc", 1868 "task/cancelable_task_tracker_unittest.cc",
1862 "task_runner_util_unittest.cc", 1869 "task_runner_util_unittest.cc",
1863 "task_scheduler/delayed_task_manager_unittest.cc", 1870 "task_scheduler/delayed_task_manager_unittest.cc",
1864 "task_scheduler/priority_queue_unittest.cc", 1871 "task_scheduler/priority_queue_unittest.cc",
1865 "task_scheduler/scheduler_lock_unittest.cc", 1872 "task_scheduler/scheduler_lock_unittest.cc",
1866 "task_scheduler/scheduler_service_thread_unittest.cc", 1873 "task_scheduler/scheduler_service_thread_unittest.cc",
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
2376 2383
2377 # GYP: //base.gyp:base_java_unittest_support 2384 # GYP: //base.gyp:base_java_unittest_support
2378 android_library("base_java_unittest_support") { 2385 android_library("base_java_unittest_support") {
2379 deps = [ 2386 deps = [
2380 ":base_java", 2387 ":base_java",
2381 ] 2388 ]
2382 java_files = 2389 java_files =
2383 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2390 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2384 } 2391 }
2385 } 2392 }
OLDNEW
« no previous file with comments | « no previous file | base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698