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

Side by Side Diff: base/BUILD.gn

Issue 2501203002: Move function to compute the max number of threads in a TaskScheduler pool to base/. (Closed)
Patch Set: do no build on nacl Created 4 years, 1 month 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/task_scheduler/initialization_util.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 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 "sys_info_win.cc", 785 "sys_info_win.cc",
786 "system_monitor/system_monitor.cc", 786 "system_monitor/system_monitor.cc",
787 "system_monitor/system_monitor.h", 787 "system_monitor/system_monitor.h",
788 "task/cancelable_task_tracker.cc", 788 "task/cancelable_task_tracker.cc",
789 "task/cancelable_task_tracker.h", 789 "task/cancelable_task_tracker.h",
790 "task_runner.cc", 790 "task_runner.cc",
791 "task_runner.h", 791 "task_runner.h",
792 "task_runner_util.h", 792 "task_runner_util.h",
793 "task_scheduler/delayed_task_manager.cc", 793 "task_scheduler/delayed_task_manager.cc",
794 "task_scheduler/delayed_task_manager.h", 794 "task_scheduler/delayed_task_manager.h",
795 "task_scheduler/initialization_util.cc",
796 "task_scheduler/initialization_util.h",
795 "task_scheduler/post_task.cc", 797 "task_scheduler/post_task.cc",
796 "task_scheduler/post_task.h", 798 "task_scheduler/post_task.h",
797 "task_scheduler/priority_queue.cc", 799 "task_scheduler/priority_queue.cc",
798 "task_scheduler/priority_queue.h", 800 "task_scheduler/priority_queue.h",
799 "task_scheduler/scheduler_lock.h", 801 "task_scheduler/scheduler_lock.h",
800 "task_scheduler/scheduler_lock_impl.cc", 802 "task_scheduler/scheduler_lock_impl.cc",
801 "task_scheduler/scheduler_lock_impl.h", 803 "task_scheduler/scheduler_lock_impl.h",
802 "task_scheduler/scheduler_worker.cc", 804 "task_scheduler/scheduler_worker.cc",
803 "task_scheduler/scheduler_worker.h", 805 "task_scheduler/scheduler_worker.h",
804 "task_scheduler/scheduler_worker_pool.h", 806 "task_scheduler/scheduler_worker_pool.h",
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1158 "process/process_iterator.cc", 1160 "process/process_iterator.cc",
1159 "process/process_iterator.h", 1161 "process/process_iterator.h",
1160 "process/process_metrics.cc", 1162 "process/process_metrics.cc",
1161 "process/process_metrics_posix.cc", 1163 "process/process_metrics_posix.cc",
1162 "process/process_posix.cc", 1164 "process/process_posix.cc",
1163 "scoped_native_library.cc", 1165 "scoped_native_library.cc",
1164 "sync_socket_posix.cc", 1166 "sync_socket_posix.cc",
1165 "synchronization/read_write_lock_posix.cc", 1167 "synchronization/read_write_lock_posix.cc",
1166 "sys_info.cc", 1168 "sys_info.cc",
1167 "sys_info_posix.cc", 1169 "sys_info_posix.cc",
1170 "task_scheduler/initialization_util.cc",
1171 "task_scheduler/initialization_util.h",
1168 "trace_event/trace_event_system_stats_monitor.cc", 1172 "trace_event/trace_event_system_stats_monitor.cc",
1169 ] 1173 ]
1170 1174
1171 if (is_nacl_nonsfi) { 1175 if (is_nacl_nonsfi) {
1172 set_sources_assignment_filter([]) 1176 set_sources_assignment_filter([])
1173 sources += [ "posix/unix_domain_socket_linux.cc" ] 1177 sources += [ "posix/unix_domain_socket_linux.cc" ]
1174 set_sources_assignment_filter(sources_assignment_filter) 1178 set_sources_assignment_filter(sources_assignment_filter)
1175 sources -= [ "rand_util_nacl.cc" ] 1179 sources -= [ "rand_util_nacl.cc" ]
1176 configs += [ ":nacl_nonsfi_warnings" ] 1180 configs += [ ":nacl_nonsfi_warnings" ]
1177 } else { 1181 } else {
(...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after
2486 } 2490 }
2487 2491
2488 fuzzer_test("base_json_correctness_fuzzer") { 2492 fuzzer_test("base_json_correctness_fuzzer") {
2489 sources = [ 2493 sources = [
2490 "json/correctness_fuzzer.cc", 2494 "json/correctness_fuzzer.cc",
2491 ] 2495 ]
2492 deps = [ 2496 deps = [
2493 ":base", 2497 ":base",
2494 ] 2498 ]
2495 } 2499 }
OLDNEW
« no previous file with comments | « no previous file | base/task_scheduler/initialization_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698