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

Side by Side Diff: base/BUILD.gn

Issue 2829083002: Add constexpr TaskTraits constructor. (Closed)
Patch Set: fix unused warning 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 2096 matching lines...) Expand 10 before | Expand all | Expand 10 after
2107 "task_scheduler/scheduler_single_thread_task_runner_manager_unittest.cc", 2107 "task_scheduler/scheduler_single_thread_task_runner_manager_unittest.cc",
2108 "task_scheduler/scheduler_worker_pool_impl_unittest.cc", 2108 "task_scheduler/scheduler_worker_pool_impl_unittest.cc",
2109 "task_scheduler/scheduler_worker_stack_unittest.cc", 2109 "task_scheduler/scheduler_worker_stack_unittest.cc",
2110 "task_scheduler/scheduler_worker_unittest.cc", 2110 "task_scheduler/scheduler_worker_unittest.cc",
2111 "task_scheduler/scoped_set_task_priority_for_current_thread_unittest.cc", 2111 "task_scheduler/scoped_set_task_priority_for_current_thread_unittest.cc",
2112 "task_scheduler/sequence_sort_key_unittest.cc", 2112 "task_scheduler/sequence_sort_key_unittest.cc",
2113 "task_scheduler/sequence_unittest.cc", 2113 "task_scheduler/sequence_unittest.cc",
2114 "task_scheduler/task_scheduler_impl_unittest.cc", 2114 "task_scheduler/task_scheduler_impl_unittest.cc",
2115 "task_scheduler/task_tracker_posix_unittest.cc", 2115 "task_scheduler/task_tracker_posix_unittest.cc",
2116 "task_scheduler/task_tracker_unittest.cc", 2116 "task_scheduler/task_tracker_unittest.cc",
2117 "task_scheduler/task_traits_unittest.cc",
2117 "task_scheduler/task_unittest.cc", 2118 "task_scheduler/task_unittest.cc",
2118 "task_scheduler/test_task_factory.cc", 2119 "task_scheduler/test_task_factory.cc",
2119 "task_scheduler/test_task_factory.h", 2120 "task_scheduler/test_task_factory.h",
2120 "task_scheduler/test_utils.cc", 2121 "task_scheduler/test_utils.cc",
2121 "task_scheduler/test_utils.h", 2122 "task_scheduler/test_utils.h",
2122 "template_util_unittest.cc", 2123 "template_util_unittest.cc",
2123 "test/histogram_tester_unittest.cc", 2124 "test/histogram_tester_unittest.cc",
2124 "test/mock_callback_unittest.cc", 2125 "test/mock_callback_unittest.cc",
2125 "test/scoped_mock_time_message_loop_task_runner_unittest.cc", 2126 "test/scoped_mock_time_message_loop_task_runner_unittest.cc",
2126 "test/scoped_task_scheduler_unittest.cc", 2127 "test/scoped_task_scheduler_unittest.cc",
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
2386 2387
2387 if (enable_nocompile_tests) { 2388 if (enable_nocompile_tests) {
2388 nocompile_test("base_nocompile_tests") { 2389 nocompile_test("base_nocompile_tests") {
2389 sources = [ 2390 sources = [
2390 "bind_unittest.nc", 2391 "bind_unittest.nc",
2391 "callback_list_unittest.nc", 2392 "callback_list_unittest.nc",
2392 "callback_unittest.nc", 2393 "callback_unittest.nc",
2393 "memory/ref_counted_unittest.nc", 2394 "memory/ref_counted_unittest.nc",
2394 "memory/weak_ptr_unittest.nc", 2395 "memory/weak_ptr_unittest.nc",
2395 "metrics/histogram_unittest.nc", 2396 "metrics/histogram_unittest.nc",
2397 "task_scheduler/task_traits_unittest.nc",
2396 ] 2398 ]
2397 2399
2398 deps = [ 2400 deps = [
2399 ":base", 2401 ":base",
2400 "//base/test:run_all_unittests", 2402 "//base/test:run_all_unittests",
2401 "//testing/gtest", 2403 "//testing/gtest",
2402 ] 2404 ]
2403 } 2405 }
2404 } 2406 }
2405 2407
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
2693 } 2695 }
2694 2696
2695 fuzzer_test("base_json_correctness_fuzzer") { 2697 fuzzer_test("base_json_correctness_fuzzer") {
2696 sources = [ 2698 sources = [
2697 "json/correctness_fuzzer.cc", 2699 "json/correctness_fuzzer.cc",
2698 ] 2700 ]
2699 deps = [ 2701 deps = [
2700 ":base", 2702 ":base",
2701 ] 2703 ]
2702 } 2704 }
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