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

Unified Diff: base/base.gypi

Issue 661359: Add a FileWatcher to base/. (Closed)
Patch Set: 2s Created 10 years, 9 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/base.gyp ('k') | base/file_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 3948fe4fa59cac540ccbbd878bf4bfdb01c13077..2bea6452aa51f186a50922b3c6749bc3631ced54 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -290,6 +290,7 @@
'sources!': [
'atomicops_internals_x86_gcc.cc',
'base_paths_posix.cc',
+ 'file_watcher_inotify.cc',
'linux_util.cc',
'message_pump_glib.cc',
],
@@ -312,6 +313,17 @@
'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
},
],
+ [ 'GENERATOR == "quentin"', {
+ # Quentin builds don't have a recent enough glibc to include the
+ # inotify headers
+ 'sources!': [
+ 'file_watcher_inotify.cc',
+ ],
+ 'sources': [
+ 'file_watcher_stub.cc',
+ ],
+ },
+ ],
[ 'OS == "mac"', {
'sources!': [
# TODO(wtc): Remove nss_util.{cc,h} when http://crbug.com/30689
@@ -406,6 +418,12 @@
],
},],
[ 'OS == "freebsd"', {
+ 'sources!': [
+ 'file_watcher_inotify.cc',
+ ],
+ 'sources': [
+ 'file_watcher_stub.cc',
+ ],
'link_settings': {
'libraries': [
'-L/usr/local/lib -lexecinfo',
@@ -485,6 +503,10 @@
'base_drop_target.cc',
'base_drop_target.h',
'data_pack.cc',
+ 'file_watcher.h',
+ 'file_watcher_inotify.cc',
+ 'file_watcher_mac.cc',
+ 'file_watcher_win.cc',
'dynamic_annotations.h',
'dynamic_annotations.cc',
'event_recorder.cc',
« no previous file with comments | « base/base.gyp ('k') | base/file_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698