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

Side by Side Diff: base/base.gypi

Issue 12741012: base: Support setting thread priorities generically. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add id to handle. Created 7 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/threading/platform_thread.h » ('j') | base/threading/platform_thread.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 'base_target': 0, 8 'base_target': 0,
9 }, 9 },
10 'target_conditions': [ 10 'target_conditions': [
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 'task_runner.cc', 464 'task_runner.cc',
465 'task_runner.h', 465 'task_runner.h',
466 'task_runner_util.h', 466 'task_runner_util.h',
467 'template_util.h', 467 'template_util.h',
468 'thread_task_runner_handle.cc', 468 'thread_task_runner_handle.cc',
469 'thread_task_runner_handle.h', 469 'thread_task_runner_handle.h',
470 'threading/non_thread_safe.h', 470 'threading/non_thread_safe.h',
471 'threading/non_thread_safe_impl.cc', 471 'threading/non_thread_safe_impl.cc',
472 'threading/non_thread_safe_impl.h', 472 'threading/non_thread_safe_impl.h',
473 'threading/platform_thread.h', 473 'threading/platform_thread.h',
474 'threading/platform_thread_android.cc',
475 'threading/platform_thread_linux.cc',
474 'threading/platform_thread_mac.mm', 476 'threading/platform_thread_mac.mm',
475 'threading/platform_thread_posix.cc', 477 'threading/platform_thread_posix.cc',
476 'threading/platform_thread_win.cc', 478 'threading/platform_thread_win.cc',
477 'threading/post_task_and_reply_impl.cc', 479 'threading/post_task_and_reply_impl.cc',
478 'threading/post_task_and_reply_impl.h', 480 'threading/post_task_and_reply_impl.h',
479 'threading/sequenced_worker_pool.cc', 481 'threading/sequenced_worker_pool.cc',
480 'threading/sequenced_worker_pool.h', 482 'threading/sequenced_worker_pool.h',
481 'threading/simple_thread.cc', 483 'threading/simple_thread.cc',
482 'threading/simple_thread.h', 484 'threading/simple_thread.h',
483 'threading/thread.cc', 485 'threading/thread.cc',
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 'process_posix.cc', 640 'process_posix.cc',
639 'process_util.cc', 641 'process_util.cc',
640 'process_util_posix.cc', 642 'process_util_posix.cc',
641 'rand_util_posix.cc', 643 'rand_util_posix.cc',
642 'scoped_native_library.cc', 644 'scoped_native_library.cc',
643 'files/scoped_temp_dir.cc', 645 'files/scoped_temp_dir.cc',
644 'sys_info_posix.cc', 646 'sys_info_posix.cc',
645 'threading/sequenced_worker_pool.cc', 647 'threading/sequenced_worker_pool.cc',
646 'third_party/dynamic_annotations/dynamic_annotations.c', 648 'third_party/dynamic_annotations/dynamic_annotations.c',
647 ], 649 ],
648 # Metrics won't work in the NaCl sandbox. 650 'sources/': [
649 'sources/': [ ['exclude', '^metrics/'] ], 651 # Metrics won't work in the NaCl sandbox.
652 ['exclude', '^metrics/'],
653 ['include', '^threading/platform_thread_linux\\.cc$'],
654 ],
650 }], 655 }],
651 ['OS == "android" and >(nacl_untrusted_build)==0', { 656 ['OS == "android" and >(nacl_untrusted_build)==0', {
652 'sources!': [ 657 'sources!': [
653 'base_paths_posix.cc', 658 'base_paths_posix.cc',
654 'files/file_path_watcher_kqueue.cc', 659 'files/file_path_watcher_kqueue.cc',
655 'files/file_path_watcher_stub.cc', 660 'files/file_path_watcher_stub.cc',
656 'power_monitor/power_monitor_posix.cc', 661 'power_monitor/power_monitor_posix.cc',
657 ], 662 ],
658 'sources/': [ 663 'sources/': [
659 ['include', '^files/file_path_watcher_linux\\.cc$'], 664 ['include', '^files/file_path_watcher_linux\\.cc$'],
660 ['include', '^process_util_linux\\.cc$'], 665 ['include', '^process_util_linux\\.cc$'],
661 ['include', '^posix/unix_domain_socket_linux\\.cc$'], 666 ['include', '^posix/unix_domain_socket_linux\\.cc$'],
662 ['include', '^strings/sys_string_conversions_posix\\.cc$'], 667 ['include', '^strings/sys_string_conversions_posix\\.cc$'],
663 ['include', '^sys_info_linux\\.cc$'], 668 ['include', '^sys_info_linux\\.cc$'],
664 ['include', '^worker_pool_linux\\.cc$'], 669 ['include', '^worker_pool_linux\\.cc$'],
665 ], 670 ],
666 }], 671 }],
672 ['OS == "android" and _toolset == "host" and host_os == "linux"', {
673 'sources/': [
674 # Pull in specific files for host builds.
675 ['include', '^threading/platform_thread_linux\\.cc$'],
676 ],
677 }],
667 ['OS == "ios"', { 678 ['OS == "ios"', {
668 'sources/': [ 679 'sources/': [
669 # Pull in specific Mac files for iOS (which have been filtered out 680 # Pull in specific Mac files for iOS (which have been filtered out
670 # by file name rules). 681 # by file name rules).
671 ['include', '^atomicops_internals_mac\\.'], 682 ['include', '^atomicops_internals_mac\\.'],
672 ['include', '^base_paths_mac\\.'], 683 ['include', '^base_paths_mac\\.'],
673 ['include', '^file_util_mac\\.'], 684 ['include', '^file_util_mac\\.'],
674 ['include', '^file_version_info_mac\\.'], 685 ['include', '^file_version_info_mac\\.'],
675 ['include', '^mac/bundle_locations\\.'], 686 ['include', '^mac/bundle_locations\\.'],
676 ['include', '^mac/foundation_util\\.'], 687 ['include', '^mac/foundation_util\\.'],
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 ['<(use_system_nspr)==1 and >(nacl_untrusted_build)==0', { 786 ['<(use_system_nspr)==1 and >(nacl_untrusted_build)==0', {
776 'sources/': [ 787 'sources/': [
777 ['exclude', '^third_party/nspr/'], 788 ['exclude', '^third_party/nspr/'],
778 ], 789 ],
779 }], 790 }],
780 ], 791 ],
781 }], 792 }],
782 ], 793 ],
783 }, 794 },
784 } 795 }
OLDNEW
« no previous file with comments | « no previous file | base/threading/platform_thread.h » ('j') | base/threading/platform_thread.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698