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

Unified Diff: base/BUILD.gn

Issue 283423003: Use FSEvents for recursive file watch on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix dcheck 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
« 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 b4faecf84d4330f3cc3d62b686a375e61a850827..33ff366d87a1f85005495428debc69cc0ca61a06 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",
@@ -834,7 +838,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