Index: base/base.gypi |
diff --git a/base/base.gypi b/base/base.gypi |
index d0b7370a9acf32c3536e5b10470808330fe43a45..93a5b739ffa633ecef641c713954e37e1413cf44 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', |
], |
@@ -848,6 +858,9 @@ |
['include', '^process/.*_ios\.(cc|mm)$'], |
['include', '^process/memory_stubs\.cc$'], |
['include', '^process/process_handle_posix\.cc$'], |
+ ['exclude', 'files/file_path_watcher_fsevents.cc'], |
+ ['exclude', 'files/file_path_watcher_fsevents.h'], |
+ ['include', 'files/file_path_watcher_mac.cc'], |
], |
'sources': [ |
'process/memory_stubs.cc', |
@@ -863,6 +876,9 @@ |
['include', '(^|/)(cocoa|mac)/'], |
['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'], |
['exclude', '(^|/)ios/'], |
+ ['exclude', 'files/file_path_watcher_fsevents.cc'], |
+ ['exclude', 'files/file_path_watcher_fsevents.h'], |
+ ['include', 'files/file_path_watcher_mac.cc'], |
] |
}], |
# For now, just test the *BSD platforms enough to exclude them. |
@@ -881,7 +897,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 +917,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', |
], |
}], |