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

Unified 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: include fix for iOS 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/BUILD.gn ('k') | base/files/file_path_watcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
],
}],
« no previous file with comments | « base/BUILD.gn ('k') | base/files/file_path_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698