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

Unified Diff: runtime/vm/signal_handler.h

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/vm/profiler.cc ('k') | runtime/vm/signal_handler_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/signal_handler.h
diff --git a/runtime/vm/signal_handler.h b/runtime/vm/signal_handler.h
index 734db0623bcc803b0c59954604b3a3c0fe822c61..ff02a9747c4c8752befce7711b30e0f81b490af9 100644
--- a/runtime/vm/signal_handler.h
+++ b/runtime/vm/signal_handler.h
@@ -8,10 +8,10 @@
#include "vm/allocation.h"
#include "vm/globals.h"
-#if defined(TARGET_OS_LINUX)
+#if defined(HOST_OS_LINUX)
#include <signal.h> // NOLINT
#include <ucontext.h> // NOLINT
-#elif defined(TARGET_OS_ANDROID)
+#elif defined(HOST_OS_ANDROID)
#include <signal.h> // NOLINT
#if !defined(__BIONIC_HAVE_UCONTEXT_T)
#include <asm/sigcontext.h> // NOLINT
@@ -25,15 +25,15 @@ typedef struct ucontext {
uint32_t uc_sigmask;
} ucontext_t;
#endif // !defined(__BIONIC_HAVE_UCONTEXT_T)
-#elif defined(TARGET_OS_MACOS)
+#elif defined(HOST_OS_MACOS)
#include <signal.h> // NOLINT
#include <sys/ucontext.h> // NOLINT
-#elif defined(TARGET_OS_WINDOWS)
+#elif defined(HOST_OS_WINDOWS)
// Stub out for windows.
struct siginfo_t;
struct mcontext_t;
struct sigset_t {};
-#elif defined(TARGET_OS_FUCHSIA)
+#elif defined(HOST_OS_FUCHSIA)
#include <signal.h> // NOLINT
#include <ucontext.h> // NOLINT
#endif
@@ -43,7 +43,7 @@ struct sigset_t {};
// work around incorrect Thumb -> ARM transitions. See SignalHandlerTrampoline
// below for more details.
#if defined(HOST_ARCH_ARM) && \
- (defined(TARGET_OS_LINUX) || defined(TARGET_OS_ANDROID)) && \
+ (defined(HOST_OS_LINUX) || defined(HOST_OS_ANDROID)) && \
!defined(__thumb__)
#define USE_SIGNAL_HANDLER_TRAMPOLINE
#endif
« no previous file with comments | « runtime/vm/profiler.cc ('k') | runtime/vm/signal_handler_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698