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

Side by Side Diff: base/BUILD.gn

Issue 2829083002: Add constexpr TaskTraits constructor. (Closed)
Patch Set: CR-etipdoray-gab-36-38 Created 3 years, 8 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') | base/task_scheduler/task_traits.h » ('J')
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 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after
2109 "task_scheduler/scheduler_single_thread_task_runner_manager_unittest.cc", 2110 "task_scheduler/scheduler_single_thread_task_runner_manager_unittest.cc",
2110 "task_scheduler/scheduler_worker_pool_impl_unittest.cc", 2111 "task_scheduler/scheduler_worker_pool_impl_unittest.cc",
2111 "task_scheduler/scheduler_worker_stack_unittest.cc", 2112 "task_scheduler/scheduler_worker_stack_unittest.cc",
2112 "task_scheduler/scheduler_worker_unittest.cc", 2113 "task_scheduler/scheduler_worker_unittest.cc",
2113 "task_scheduler/scoped_set_task_priority_for_current_thread_unittest.cc", 2114 "task_scheduler/scoped_set_task_priority_for_current_thread_unittest.cc",
2114 "task_scheduler/sequence_sort_key_unittest.cc", 2115 "task_scheduler/sequence_sort_key_unittest.cc",
2115 "task_scheduler/sequence_unittest.cc", 2116 "task_scheduler/sequence_unittest.cc",
2116 "task_scheduler/task_scheduler_impl_unittest.cc", 2117 "task_scheduler/task_scheduler_impl_unittest.cc",
2117 "task_scheduler/task_tracker_posix_unittest.cc", 2118 "task_scheduler/task_tracker_posix_unittest.cc",
2118 "task_scheduler/task_tracker_unittest.cc", 2119 "task_scheduler/task_tracker_unittest.cc",
2120 "task_scheduler/task_traits_unittest.cc",
2119 "task_scheduler/task_unittest.cc", 2121 "task_scheduler/task_unittest.cc",
2120 "task_scheduler/test_task_factory.cc", 2122 "task_scheduler/test_task_factory.cc",
2121 "task_scheduler/test_task_factory.h", 2123 "task_scheduler/test_task_factory.h",
2122 "task_scheduler/test_utils.h", 2124 "task_scheduler/test_utils.h",
2123 "template_util_unittest.cc", 2125 "template_util_unittest.cc",
2124 "test/histogram_tester_unittest.cc", 2126 "test/histogram_tester_unittest.cc",
2125 "test/mock_callback_unittest.cc", 2127 "test/mock_callback_unittest.cc",
2126 "test/scoped_mock_time_message_loop_task_runner_unittest.cc", 2128 "test/scoped_mock_time_message_loop_task_runner_unittest.cc",
2127 "test/scoped_task_scheduler_unittest.cc", 2129 "test/scoped_task_scheduler_unittest.cc",
2128 "test/test_pending_task_unittest.cc", 2130 "test/test_pending_task_unittest.cc",
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
2387 2389
2388 if (enable_nocompile_tests) { 2390 if (enable_nocompile_tests) {
2389 nocompile_test("base_nocompile_tests") { 2391 nocompile_test("base_nocompile_tests") {
2390 sources = [ 2392 sources = [
2391 "bind_unittest.nc", 2393 "bind_unittest.nc",
2392 "callback_list_unittest.nc", 2394 "callback_list_unittest.nc",
2393 "callback_unittest.nc", 2395 "callback_unittest.nc",
2394 "memory/ref_counted_unittest.nc", 2396 "memory/ref_counted_unittest.nc",
2395 "memory/weak_ptr_unittest.nc", 2397 "memory/weak_ptr_unittest.nc",
2396 "metrics/histogram_unittest.nc", 2398 "metrics/histogram_unittest.nc",
2399 "task_scheduler/task_traits_unittest.nc",
2397 ] 2400 ]
2398 2401
2399 deps = [ 2402 deps = [
2400 ":base", 2403 ":base",
2401 "//base/test:run_all_unittests", 2404 "//base/test:run_all_unittests",
2402 "//testing/gtest", 2405 "//testing/gtest",
2403 ] 2406 ]
2404 } 2407 }
2405 } 2408 }
2406 2409
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
2694 } 2697 }
2695 2698
2696 fuzzer_test("base_json_correctness_fuzzer") { 2699 fuzzer_test("base_json_correctness_fuzzer") {
2697 sources = [ 2700 sources = [
2698 "json/correctness_fuzzer.cc", 2701 "json/correctness_fuzzer.cc",
2699 ] 2702 ]
2700 deps = [ 2703 deps = [
2701 ":base", 2704 ":base",
2702 ] 2705 ]
2703 } 2706 }
OLDNEW
« no previous file with comments | « no previous file | base/task_scheduler/task_traits.h » ('j') | base/task_scheduler/task_traits.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698