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

Side by Side Diff: trunk/src/base/base.gypi

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

Powered by Google App Engine
This is Rietveld 408576698