Index: base/base.gypi |
diff --git a/base/base.gypi b/base/base.gypi |
index e285bff8c0328686198687472b0638734c0fdd71..8f9f07001b879e5b4320a67602ed0b06ebb9df73 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', |
@@ -752,7 +756,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', |
@@ -784,7 +791,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', |
], |
@@ -849,6 +859,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', |
@@ -864,6 +877,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. |
@@ -882,7 +898,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', |
@@ -899,7 +918,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', |
], |
}], |