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

Side by Side Diff: base/BUILD.gn

Issue 2829083002: Add constexpr TaskTraits constructor. (Closed)
Patch Set: sfinae 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
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 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after
2112 "task_scheduler/scheduler_single_thread_task_runner_manager_unittest.cc", 2113 "task_scheduler/scheduler_single_thread_task_runner_manager_unittest.cc",
2113 "task_scheduler/scheduler_worker_pool_impl_unittest.cc", 2114 "task_scheduler/scheduler_worker_pool_impl_unittest.cc",
2114 "task_scheduler/scheduler_worker_stack_unittest.cc", 2115 "task_scheduler/scheduler_worker_stack_unittest.cc",
2115 "task_scheduler/scheduler_worker_unittest.cc", 2116 "task_scheduler/scheduler_worker_unittest.cc",
2116 "task_scheduler/scoped_set_task_priority_for_current_thread_unittest.cc", 2117 "task_scheduler/scoped_set_task_priority_for_current_thread_unittest.cc",
2117 "task_scheduler/sequence_sort_key_unittest.cc", 2118 "task_scheduler/sequence_sort_key_unittest.cc",
2118 "task_scheduler/sequence_unittest.cc", 2119 "task_scheduler/sequence_unittest.cc",
2119 "task_scheduler/task_scheduler_impl_unittest.cc", 2120 "task_scheduler/task_scheduler_impl_unittest.cc",
2120 "task_scheduler/task_tracker_posix_unittest.cc", 2121 "task_scheduler/task_tracker_posix_unittest.cc",
2121 "task_scheduler/task_tracker_unittest.cc", 2122 "task_scheduler/task_tracker_unittest.cc",
2123 "task_scheduler/task_traits_unittest.cc",
2122 "task_scheduler/task_unittest.cc", 2124 "task_scheduler/task_unittest.cc",
2123 "task_scheduler/test_task_factory.cc", 2125 "task_scheduler/test_task_factory.cc",
2124 "task_scheduler/test_task_factory.h", 2126 "task_scheduler/test_task_factory.h",
2125 "task_scheduler/test_utils.h", 2127 "task_scheduler/test_utils.h",
2126 "template_util_unittest.cc", 2128 "template_util_unittest.cc",
2127 "test/histogram_tester_unittest.cc", 2129 "test/histogram_tester_unittest.cc",
2128 "test/mock_callback_unittest.cc", 2130 "test/mock_callback_unittest.cc",
2129 "test/scoped_mock_time_message_loop_task_runner_unittest.cc", 2131 "test/scoped_mock_time_message_loop_task_runner_unittest.cc",
2130 "test/scoped_task_scheduler_unittest.cc", 2132 "test/scoped_task_scheduler_unittest.cc",
2131 "test/test_pending_task_unittest.cc", 2133 "test/test_pending_task_unittest.cc",
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
2390 2392
2391 if (enable_nocompile_tests) { 2393 if (enable_nocompile_tests) {
2392 nocompile_test("base_nocompile_tests") { 2394 nocompile_test("base_nocompile_tests") {
2393 sources = [ 2395 sources = [
2394 "bind_unittest.nc", 2396 "bind_unittest.nc",
2395 "callback_list_unittest.nc", 2397 "callback_list_unittest.nc",
2396 "callback_unittest.nc", 2398 "callback_unittest.nc",
2397 "memory/ref_counted_unittest.nc", 2399 "memory/ref_counted_unittest.nc",
2398 "memory/weak_ptr_unittest.nc", 2400 "memory/weak_ptr_unittest.nc",
2399 "metrics/histogram_unittest.nc", 2401 "metrics/histogram_unittest.nc",
2402 "task_scheduler/task_traits_unittest.nc",
2400 ] 2403 ]
2401 2404
2402 deps = [ 2405 deps = [
2403 ":base", 2406 ":base",
2404 "//base/test:run_all_unittests", 2407 "//base/test:run_all_unittests",
2405 "//testing/gtest", 2408 "//testing/gtest",
2406 ] 2409 ]
2407 } 2410 }
2408 } 2411 }
2409 2412
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
2699 } 2702 }
2700 2703
2701 fuzzer_test("base_json_correctness_fuzzer") { 2704 fuzzer_test("base_json_correctness_fuzzer") {
2702 sources = [ 2705 sources = [
2703 "json/correctness_fuzzer.cc", 2706 "json/correctness_fuzzer.cc",
2704 ] 2707 ]
2705 deps = [ 2708 deps = [
2706 ":base", 2709 ":base",
2707 ] 2710 ]
2708 } 2711 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698