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

Unified Diff: base/base.gypi

Issue 283423003: Use FSEvents for recursive file watch on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 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 side-by-side diff with in-line comments
Download patch
Index: base/base.gypi
diff --git a/base/base.gypi b/base/base.gypi
index d0b7370a9acf32c3536e5b10470808330fe43a45..d973112772944d8ed3edd52a5d9088aeea8d7603 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -194,8 +194,12 @@
'files/file_path_constants.cc',
'files/file_path_watcher.cc',
'files/file_path_watcher.h',
+ 'files/file_path_watcher_fsevents.cc',
+ 'files/file_path_watcher_fsevents.h',
'files/file_path_watcher_kqueue.cc',
+ 'files/file_path_watcher_kqueue.h',
'files/file_path_watcher_linux.cc',
+ 'files/file_path_watcher_mac.cc',
'files/file_path_watcher_stub.cc',
'files/file_path_watcher_win.cc',
'files/file_posix.cc',
@@ -751,7 +755,10 @@
'file_util.cc',
'file_util_posix.cc',
'files/file_enumerator_posix.cc',
+ 'files/file_path_watcher_fsevents.cc',
+ 'files/file_path_watcher_fsevents.h',
'files/file_path_watcher_kqueue.cc',
+ 'files/file_path_watcher_kqueue.h',
'files/file_proxy.cc',
'files/file_util_proxy.cc',
'memory/shared_memory_posix.cc',
@@ -783,7 +790,10 @@
['OS == "android" and >(nacl_untrusted_build)==0', {
'sources!': [
'base_paths_posix.cc',
+ 'files/file_path_watcher_fsevents.cc',
+ 'files/file_path_watcher_fsevents.h',
'files/file_path_watcher_kqueue.cc',
+ 'files/file_path_watcher_kqueue.h',
'files/file_path_watcher_stub.cc',
'power_monitor/power_monitor_device_source_posix.cc',
],
@@ -881,7 +891,10 @@
],
'sources!': [
'event_recorder_stubs.cc',
+ 'files/file_path_watcher_fsevents.cc',
+ 'files/file_path_watcher_fsevents.h',
'files/file_path_watcher_kqueue.cc',
+ 'files/file_path_watcher_kqueue.h',
'files/file_path_watcher_stub.cc',
'message_loop/message_pump_libevent.cc',
'posix/file_descriptor_shuffle.cc',
@@ -898,7 +911,10 @@
}],
['OS == "linux" and >(nacl_untrusted_build)==0', {
'sources!': [
+ 'files/file_path_watcher_fsevents.cc',
+ 'files/file_path_watcher_fsevents.h',
'files/file_path_watcher_kqueue.cc',
+ 'files/file_path_watcher_kqueue.h',
'files/file_path_watcher_stub.cc',
],
}],

Powered by Google App Engine
This is Rietveld 408576698