summaryrefslogtreecommitdiffstats
path: root/base/base.gypi
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2015-09-11 08:16:10 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-11 15:17:25 +0000
commitd8143e7373719ed53b6cef35c234b0498b771d48 (patch)
treeed6928fcb2e272e976009b6188f54c495818e8f5 /base/base.gypi
parent348ded1cd90483e7fbe8fba42fc4634c9120624a (diff)
downloadchromium_src-d8143e7373719ed53b6cef35c234b0498b771d48.zip
chromium_src-d8143e7373719ed53b6cef35c234b0498b771d48.tar.gz
chromium_src-d8143e7373719ed53b6cef35c234b0498b771d48.tar.bz2
Stop building FilePathWatcher on iOS.
Stop using FilePathWatcher on iOS as it does not works on iOS devices as can be seen when running the unit tests that never finish as no events are reported. Remove the only usage of FilePathWatcher that was present on iOS. This does not change the behaviour since previously even in case of changes to /etc/hosts, the watcher was never informed of any changes. Moreover the file is not editable by the user and so the file will only change after OS upgrade (which requires an app restart) or due to a list of static hosts send as part of dynamic IP negociation (i.e. after a local IP change). BUG=477102 Review URL: https://codereview.chromium.org/1304233004 Cr-Commit-Position: refs/heads/master@{#348400}
Diffstat (limited to 'base/base.gypi')
-rw-r--r--base/base.gypi5
1 files changed, 2 insertions, 3 deletions
diff --git a/base/base.gypi b/base/base.gypi
index ab1f380..d592967 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -901,10 +901,9 @@
['include', '^process/memory_stubs\.cc$'],
['include', '^process/process_handle_posix\.cc$'],
['include', '^process/process_metrics\\.cc$'],
+ # Exclude unsupported features on iOS.
+ ['exclude', '^files/file_path_watcher.*'],
['exclude', '^threading/platform_thread_internal_posix\\.(h|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',