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

Side by Side Diff: base/BUILD.gn

Issue 2829083002: Add constexpr TaskTraits constructor. (Closed)
Patch Set: remove-comma Created 3 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/task_scheduler/task_traits.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 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 "task_scheduler/task_scheduler.cc", 848 "task_scheduler/task_scheduler.cc",
849 "task_scheduler/task_scheduler.h", 849 "task_scheduler/task_scheduler.h",
850 "task_scheduler/task_scheduler_impl.cc", 850 "task_scheduler/task_scheduler_impl.cc",
851 "task_scheduler/task_scheduler_impl.h", 851 "task_scheduler/task_scheduler_impl.h",
852 "task_scheduler/task_tracker.cc", 852 "task_scheduler/task_tracker.cc",
853 "task_scheduler/task_tracker.h", 853 "task_scheduler/task_tracker.h",
854 "task_scheduler/task_tracker_posix.cc", 854 "task_scheduler/task_tracker_posix.cc",
855 "task_scheduler/task_tracker_posix.h", 855 "task_scheduler/task_tracker_posix.h",
856 "task_scheduler/task_traits.cc", 856 "task_scheduler/task_traits.cc",
857 "task_scheduler/task_traits.h", 857 "task_scheduler/task_traits.h",
858 "task_scheduler/task_traits_details.h",
858 "template_util.h", 859 "template_util.h",
859 "test/malloc_wrapper.h", 860 "test/malloc_wrapper.h",
860 "third_party/dmg_fp/dmg_fp.h", 861 "third_party/dmg_fp/dmg_fp.h",
861 "third_party/dmg_fp/dtoa_wrapper.cc", 862 "third_party/dmg_fp/dtoa_wrapper.cc",
862 "third_party/dmg_fp/g_fmt.cc", 863 "third_party/dmg_fp/g_fmt.cc",
863 "third_party/icu/icu_utf.cc", 864 "third_party/icu/icu_utf.cc",
864 "third_party/icu/icu_utf.h", 865 "third_party/icu/icu_utf.h",
865 "third_party/nspr/prtime.cc", 866 "third_party/nspr/prtime.cc",
866 "third_party/nspr/prtime.h", 867 "third_party/nspr/prtime.h",
867 "third_party/superfasthash/superfasthash.c", 868 "third_party/superfasthash/superfasthash.c",
(...skipping 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after
2116 "task_scheduler/scheduler_single_thread_task_runner_manager_unittest.cc", 2117 "task_scheduler/scheduler_single_thread_task_runner_manager_unittest.cc",
2117 "task_scheduler/scheduler_worker_pool_impl_unittest.cc", 2118 "task_scheduler/scheduler_worker_pool_impl_unittest.cc",
2118 "task_scheduler/scheduler_worker_stack_unittest.cc", 2119 "task_scheduler/scheduler_worker_stack_unittest.cc",
2119 "task_scheduler/scheduler_worker_unittest.cc", 2120 "task_scheduler/scheduler_worker_unittest.cc",
2120 "task_scheduler/scoped_set_task_priority_for_current_thread_unittest.cc", 2121 "task_scheduler/scoped_set_task_priority_for_current_thread_unittest.cc",
2121 "task_scheduler/sequence_sort_key_unittest.cc", 2122 "task_scheduler/sequence_sort_key_unittest.cc",
2122 "task_scheduler/sequence_unittest.cc", 2123 "task_scheduler/sequence_unittest.cc",
2123 "task_scheduler/task_scheduler_impl_unittest.cc", 2124 "task_scheduler/task_scheduler_impl_unittest.cc",
2124 "task_scheduler/task_tracker_posix_unittest.cc", 2125 "task_scheduler/task_tracker_posix_unittest.cc",
2125 "task_scheduler/task_tracker_unittest.cc", 2126 "task_scheduler/task_tracker_unittest.cc",
2127 "task_scheduler/task_traits_unittest.cc",
2126 "task_scheduler/task_unittest.cc", 2128 "task_scheduler/task_unittest.cc",
2127 "task_scheduler/test_task_factory.cc", 2129 "task_scheduler/test_task_factory.cc",
2128 "task_scheduler/test_task_factory.h", 2130 "task_scheduler/test_task_factory.h",
2129 "task_scheduler/test_utils.h", 2131 "task_scheduler/test_utils.h",
2130 "template_util_unittest.cc", 2132 "template_util_unittest.cc",
2131 "test/histogram_tester_unittest.cc", 2133 "test/histogram_tester_unittest.cc",
2132 "test/mock_callback_unittest.cc", 2134 "test/mock_callback_unittest.cc",
2133 "test/scoped_mock_time_message_loop_task_runner_unittest.cc", 2135 "test/scoped_mock_time_message_loop_task_runner_unittest.cc",
2134 "test/scoped_task_scheduler_unittest.cc", 2136 "test/scoped_task_scheduler_unittest.cc",
2135 "test/test_pending_task_unittest.cc", 2137 "test/test_pending_task_unittest.cc",
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
2394 2396
2395 if (enable_nocompile_tests) { 2397 if (enable_nocompile_tests) {
2396 nocompile_test("base_nocompile_tests") { 2398 nocompile_test("base_nocompile_tests") {
2397 sources = [ 2399 sources = [
2398 "bind_unittest.nc", 2400 "bind_unittest.nc",
2399 "callback_list_unittest.nc", 2401 "callback_list_unittest.nc",
2400 "callback_unittest.nc", 2402 "callback_unittest.nc",
2401 "memory/ref_counted_unittest.nc", 2403 "memory/ref_counted_unittest.nc",
2402 "memory/weak_ptr_unittest.nc", 2404 "memory/weak_ptr_unittest.nc",
2403 "metrics/histogram_unittest.nc", 2405 "metrics/histogram_unittest.nc",
2406 "task_scheduler/task_traits_unittest.nc",
2404 ] 2407 ]
2405 2408
2406 deps = [ 2409 deps = [
2407 ":base", 2410 ":base",
2408 "//base/test:run_all_unittests", 2411 "//base/test:run_all_unittests",
2409 "//testing/gtest", 2412 "//testing/gtest",
2410 ] 2413 ]
2411 } 2414 }
2412 } 2415 }
2413 2416
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
2703 } 2706 }
2704 2707
2705 fuzzer_test("base_json_correctness_fuzzer") { 2708 fuzzer_test("base_json_correctness_fuzzer") {
2706 sources = [ 2709 sources = [
2707 "json/correctness_fuzzer.cc", 2710 "json/correctness_fuzzer.cc",
2708 ] 2711 ]
2709 deps = [ 2712 deps = [
2710 ":base", 2713 ":base",
2711 ] 2714 ]
2712 } 2715 }
OLDNEW
« no previous file with comments | « no previous file | base/task_scheduler/task_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698