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

Side by Side Diff: base/base.gypi

Issue 313083007: Use FSEvents for recursive file watch on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing ; Created 6 years, 6 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 | Annotate | Revision Log
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 'base_i18n_target': 0, 9 'base_i18n_target': 0,
10 }, 10 },
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 'files/file.h', 187 'files/file.h',
188 'files/file_enumerator.cc', 188 'files/file_enumerator.cc',
189 'files/file_enumerator.h', 189 'files/file_enumerator.h',
190 'files/file_enumerator_posix.cc', 190 'files/file_enumerator_posix.cc',
191 'files/file_enumerator_win.cc', 191 'files/file_enumerator_win.cc',
192 'files/file_path.cc', 192 'files/file_path.cc',
193 'files/file_path.h', 193 'files/file_path.h',
194 'files/file_path_constants.cc', 194 'files/file_path_constants.cc',
195 'files/file_path_watcher.cc', 195 'files/file_path_watcher.cc',
196 'files/file_path_watcher.h', 196 'files/file_path_watcher.h',
197 'files/file_path_watcher_fsevents.cc',
198 'files/file_path_watcher_fsevents.h',
197 'files/file_path_watcher_kqueue.cc', 199 'files/file_path_watcher_kqueue.cc',
200 'files/file_path_watcher_kqueue.h',
198 'files/file_path_watcher_linux.cc', 201 'files/file_path_watcher_linux.cc',
202 'files/file_path_watcher_mac.cc',
199 'files/file_path_watcher_stub.cc', 203 'files/file_path_watcher_stub.cc',
200 'files/file_path_watcher_win.cc', 204 'files/file_path_watcher_win.cc',
201 'files/file_posix.cc', 205 'files/file_posix.cc',
202 'files/file_proxy.cc', 206 'files/file_proxy.cc',
203 'files/file_proxy.h', 207 'files/file_proxy.h',
204 'files/file_util_proxy.cc', 208 'files/file_util_proxy.cc',
205 'files/file_util_proxy.h', 209 'files/file_util_proxy.h',
206 'files/file_win.cc', 210 'files/file_win.cc',
207 'files/important_file_writer.h', 211 'files/important_file_writer.h',
208 'files/important_file_writer.cc', 212 'files/important_file_writer.cc',
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 ['>(nacl_untrusted_build)==1', { 748 ['>(nacl_untrusted_build)==1', {
745 'sources!': [ 749 'sources!': [
746 'allocator/type_profiler_control.cc', 750 'allocator/type_profiler_control.cc',
747 'allocator/type_profiler_control.h', 751 'allocator/type_profiler_control.h',
748 'base_paths.cc', 752 'base_paths.cc',
749 'cpu.cc', 753 'cpu.cc',
750 'debug/stack_trace_posix.cc', 754 'debug/stack_trace_posix.cc',
751 'file_util.cc', 755 'file_util.cc',
752 'file_util_posix.cc', 756 'file_util_posix.cc',
753 'files/file_enumerator_posix.cc', 757 'files/file_enumerator_posix.cc',
758 'files/file_path_watcher_fsevents.cc',
759 'files/file_path_watcher_fsevents.h',
754 'files/file_path_watcher_kqueue.cc', 760 'files/file_path_watcher_kqueue.cc',
761 'files/file_path_watcher_kqueue.h',
755 'files/file_proxy.cc', 762 'files/file_proxy.cc',
756 'files/file_util_proxy.cc', 763 'files/file_util_proxy.cc',
757 'memory/shared_memory_posix.cc', 764 'memory/shared_memory_posix.cc',
758 'native_library_posix.cc', 765 'native_library_posix.cc',
759 'path_service.cc', 766 'path_service.cc',
760 'posix/unix_domain_socket_linux.cc', 767 'posix/unix_domain_socket_linux.cc',
761 'process/kill_posix.cc', 768 'process/kill_posix.cc',
762 'process/launch_posix.cc', 769 'process/launch_posix.cc',
763 'process/process_metrics_posix.cc', 770 'process/process_metrics_posix.cc',
764 'process/process_posix.cc', 771 'process/process_posix.cc',
(...skipping 11 matching lines...) Expand all
776 'sources': [ 783 'sources': [
777 'memory/discardable_memory_ashmem_allocator.cc', 784 'memory/discardable_memory_ashmem_allocator.cc',
778 'memory/discardable_memory_ashmem_allocator.h', 785 'memory/discardable_memory_ashmem_allocator.h',
779 'memory/discardable_memory_ashmem.cc', 786 'memory/discardable_memory_ashmem.cc',
780 'memory/discardable_memory_ashmem.h', 787 'memory/discardable_memory_ashmem.h',
781 ], 788 ],
782 }], 789 }],
783 ['OS == "android" and >(nacl_untrusted_build)==0', { 790 ['OS == "android" and >(nacl_untrusted_build)==0', {
784 'sources!': [ 791 'sources!': [
785 'base_paths_posix.cc', 792 'base_paths_posix.cc',
793 'files/file_path_watcher_fsevents.cc',
794 'files/file_path_watcher_fsevents.h',
786 'files/file_path_watcher_kqueue.cc', 795 'files/file_path_watcher_kqueue.cc',
796 'files/file_path_watcher_kqueue.h',
787 'files/file_path_watcher_stub.cc', 797 'files/file_path_watcher_stub.cc',
788 'power_monitor/power_monitor_device_source_posix.cc', 798 'power_monitor/power_monitor_device_source_posix.cc',
789 ], 799 ],
790 'sources/': [ 800 'sources/': [
791 ['include', '^debug/proc_maps_linux\\.cc$'], 801 ['include', '^debug/proc_maps_linux\\.cc$'],
792 ['include', '^files/file_path_watcher_linux\\.cc$'], 802 ['include', '^files/file_path_watcher_linux\\.cc$'],
793 ['include', '^process/memory_linux\\.cc$'], 803 ['include', '^process/memory_linux\\.cc$'],
794 ['include', '^process/internal_linux\\.cc$'], 804 ['include', '^process/internal_linux\\.cc$'],
795 ['include', '^process/process_handle_linux\\.cc$'], 805 ['include', '^process/process_handle_linux\\.cc$'],
796 ['include', '^process/process_iterator\\.cc$'], 806 ['include', '^process/process_iterator\\.cc$'],
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 ['include', '^strings/sys_string_conversions_mac\\.'], 851 ['include', '^strings/sys_string_conversions_mac\\.'],
842 ['include', '^threading/platform_thread_mac\\.'], 852 ['include', '^threading/platform_thread_mac\\.'],
843 ['include', '^time/time_mac\\.'], 853 ['include', '^time/time_mac\\.'],
844 ['include', '^worker_pool_mac\\.'], 854 ['include', '^worker_pool_mac\\.'],
845 # Exclude all process/ except the minimal implementation 855 # Exclude all process/ except the minimal implementation
846 # needed on iOS (mostly for unit tests). 856 # needed on iOS (mostly for unit tests).
847 ['exclude', '^process/.*'], 857 ['exclude', '^process/.*'],
848 ['include', '^process/.*_ios\.(cc|mm)$'], 858 ['include', '^process/.*_ios\.(cc|mm)$'],
849 ['include', '^process/memory_stubs\.cc$'], 859 ['include', '^process/memory_stubs\.cc$'],
850 ['include', '^process/process_handle_posix\.cc$'], 860 ['include', '^process/process_handle_posix\.cc$'],
861 ['exclude', 'files/file_path_watcher_fsevents.cc'],
862 ['exclude', 'files/file_path_watcher_fsevents.h'],
863 ['include', 'files/file_path_watcher_mac.cc'],
851 ], 864 ],
852 'sources': [ 865 'sources': [
853 'process/memory_stubs.cc', 866 'process/memory_stubs.cc',
854 ], 867 ],
855 'sources!': [ 868 'sources!': [
856 'message_loop/message_pump_libevent.cc' 869 'message_loop/message_pump_libevent.cc'
857 ], 870 ],
858 }], 871 }],
859 ['OS == "ios" and _toolset == "host"', { 872 ['OS == "ios" and _toolset == "host"', {
860 'sources/': [ 873 'sources/': [
861 # Copied filename_rules to switch from iOS to Mac inclusions. 874 # Copied filename_rules to switch from iOS to Mac inclusions.
862 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'], 875 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
863 ['include', '(^|/)(cocoa|mac)/'], 876 ['include', '(^|/)(cocoa|mac)/'],
864 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'], 877 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
865 ['exclude', '(^|/)ios/'], 878 ['exclude', '(^|/)ios/'],
879 ['exclude', 'files/file_path_watcher_fsevents.cc'],
880 ['exclude', 'files/file_path_watcher_fsevents.h'],
881 ['include', 'files/file_path_watcher_mac.cc'],
866 ] 882 ]
867 }], 883 }],
868 # For now, just test the *BSD platforms enough to exclude them. 884 # For now, just test the *BSD platforms enough to exclude them.
869 # Subsequent changes will include them further. 885 # Subsequent changes will include them further.
870 ['OS != "freebsd" or >(nacl_untrusted_build)==1', { 886 ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
871 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], 887 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
872 }, 888 },
873 ], 889 ],
874 ['OS != "openbsd" or >(nacl_untrusted_build)==1', { 890 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
875 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], 891 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
876 }, 892 },
877 ], 893 ],
878 ['OS == "win" and >(nacl_untrusted_build)==0', { 894 ['OS == "win" and >(nacl_untrusted_build)==0', {
879 'include_dirs': [ 895 'include_dirs': [
880 '<(DEPTH)/third_party/wtl/include', 896 '<(DEPTH)/third_party/wtl/include',
881 ], 897 ],
882 'sources!': [ 898 'sources!': [
883 'event_recorder_stubs.cc', 899 'event_recorder_stubs.cc',
900 'files/file_path_watcher_fsevents.cc',
901 'files/file_path_watcher_fsevents.h',
884 'files/file_path_watcher_kqueue.cc', 902 'files/file_path_watcher_kqueue.cc',
903 'files/file_path_watcher_kqueue.h',
885 'files/file_path_watcher_stub.cc', 904 'files/file_path_watcher_stub.cc',
886 'message_loop/message_pump_libevent.cc', 905 'message_loop/message_pump_libevent.cc',
887 'posix/file_descriptor_shuffle.cc', 906 'posix/file_descriptor_shuffle.cc',
888 # Not using sha1_win.cc because it may have caused a 907 # Not using sha1_win.cc because it may have caused a
889 # regression to page cycler moz. 908 # regression to page cycler moz.
890 'sha1_win.cc', 909 'sha1_win.cc',
891 'strings/string16.cc', 910 'strings/string16.cc',
892 ], 911 ],
893 },], 912 },],
894 ['<(use_ozone) == 1', { 913 ['<(use_ozone) == 1', {
895 'sources!': [ 914 'sources!': [
896 'message_loop/message_pump_glib.cc', 915 'message_loop/message_pump_glib.cc',
897 ] 916 ]
898 }], 917 }],
899 ['OS == "linux" and >(nacl_untrusted_build)==0', { 918 ['OS == "linux" and >(nacl_untrusted_build)==0', {
900 'sources!': [ 919 'sources!': [
920 'files/file_path_watcher_fsevents.cc',
921 'files/file_path_watcher_fsevents.h',
901 'files/file_path_watcher_kqueue.cc', 922 'files/file_path_watcher_kqueue.cc',
923 'files/file_path_watcher_kqueue.h',
902 'files/file_path_watcher_stub.cc', 924 'files/file_path_watcher_stub.cc',
903 ], 925 ],
904 }], 926 }],
905 ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', { 927 ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', {
906 'sources/': [ 928 'sources/': [
907 ['exclude', '^files/file_path_watcher_stub\\.cc$'], 929 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
908 ['exclude', '^base_paths_posix\\.cc$'], 930 ['exclude', '^base_paths_posix\\.cc$'],
909 ['exclude', '^native_library_posix\\.cc$'], 931 ['exclude', '^native_library_posix\\.cc$'],
910 ['exclude', '^strings/sys_string_conversions_posix\\.cc$'], 932 ['exclude', '^strings/sys_string_conversions_posix\\.cc$'],
911 ], 933 ],
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
967 'i18n/time_formatting.h', 989 'i18n/time_formatting.h',
968 'i18n/timezone.cc', 990 'i18n/timezone.cc',
969 'i18n/timezone.h', 991 'i18n/timezone.h',
970 'i18n/utf8_validator_tables.cc', 992 'i18n/utf8_validator_tables.cc',
971 'i18n/utf8_validator_tables.h', 993 'i18n/utf8_validator_tables.h',
972 ], 994 ],
973 }] 995 }]
974 ], 996 ],
975 }, 997 },
976 } 998 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698