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

Unified Diff: runtime/bin/file_system_watcher_macos.cc

Issue 2750843003: Rename TARGET_OS_* to HOST_OS_*. (Closed)
Patch Set: DEPS Created 3 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 | « runtime/bin/file_system_watcher_linux.cc ('k') | runtime/bin/file_system_watcher_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_system_watcher_macos.cc
diff --git a/runtime/bin/file_system_watcher_macos.cc b/runtime/bin/file_system_watcher_macos.cc
index 3636eb377f9990efc1c5e33bf8823864a2f475a6..f9da101c095ba7dd10c5fd52cfa9b24efef17555 100644
--- a/runtime/bin/file_system_watcher_macos.cc
+++ b/runtime/bin/file_system_watcher_macos.cc
@@ -5,11 +5,11 @@
#if !defined(DART_IO_DISABLED)
#include "platform/globals.h"
-#if defined(TARGET_OS_MACOS)
+#if defined(HOST_OS_MACOS)
#include "bin/file_system_watcher.h"
-#if !TARGET_OS_IOS
+#if !HOST_OS_IOS
#include <errno.h> // NOLINT
#include <fcntl.h> // NOLINT
@@ -397,7 +397,7 @@ Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id, intptr_t path_id) {
} // namespace bin
} // namespace dart
-#else // !TARGET_OS_IOS
+#else // !HOST_OS_IOS
namespace dart {
namespace bin {
@@ -439,7 +439,7 @@ intptr_t FileSystemWatcher::WatchPath(intptr_t id,
} // namespace bin
} // namespace dart
-#endif // !TARGET_OS_IOS
-#endif // defined(TARGET_OS_MACOS)
+#endif // !HOST_OS_IOS
+#endif // defined(HOST_OS_MACOS)
#endif // !defined(DART_IO_DISABLED)
« no previous file with comments | « runtime/bin/file_system_watcher_linux.cc ('k') | runtime/bin/file_system_watcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698