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

Unified Diff: base/BUILD.gn

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 | « no previous file | base/base.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/BUILD.gn
diff --git a/base/BUILD.gn b/base/BUILD.gn
index c6759cece94c56b56b90595c2f3732f01148ad06..7b11288bdff520d4e296518f2c07a47f2ef3b869 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -184,8 +184,12 @@ component("base") {
"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_win.cc",
"files/file_proxy.cc",
"files/file_proxy.h",
@@ -836,7 +840,12 @@ component("base") {
deps += [ "//third_party/mach_override" ]
} else {
# Non-Mac.
- sources -= [ "files/file_path_watcher_kqueue.cc" ]
+ 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",
+ ]
}
# Linux.
« no previous file with comments | « no previous file | base/base.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698