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

Unified Diff: runtime/bin/main.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/log_win.cc ('k') | runtime/bin/platform_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
index 5290205b34be09c56a2ab760f25ed0882e9316d0..0d349eeda72c7904c2ba41ed7f660ab7ba0eb704 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -491,7 +491,7 @@ static bool ProcessShortSocketWriteOption(const char* arg,
}
-#if !defined(TARGET_OS_MACOS)
+#if !defined(HOST_OS_MACOS)
extern const char* commandline_root_certs_file;
extern const char* commandline_root_certs_cache;
@@ -527,7 +527,7 @@ static bool ProcessRootCertsCacheOption(const char* arg,
commandline_root_certs_cache = arg;
return true;
}
-#endif // !defined(TARGET_OS_MACOS)
+#endif // !defined(HOST_OS_MACOS)
static struct {
@@ -561,10 +561,10 @@ static struct {
{"--hot-reload-rollback-test-mode", ProcessHotReloadRollbackTestModeOption},
{"--short_socket_read", ProcessShortSocketReadOption},
{"--short_socket_write", ProcessShortSocketWriteOption},
-#if !defined(TARGET_OS_MACOS)
+#if !defined(HOST_OS_MACOS)
{"--root-certs-file=", ProcessRootCertsFileOption},
{"--root-certs-cache=", ProcessRootCertsCacheOption},
-#endif // !defined(TARGET_OS_MACOS)
+#endif // !defined(HOST_OS_MACOS)
{NULL, NULL}};
@@ -1116,7 +1116,7 @@ static void PrintUsage() {
"--enable-vm-service[=<port>[/<bind-address>]]\n"
" enables the VM service and listens on specified port for connections\n"
" (default port number is 8181, default bind address is localhost).\n"
-#if !defined(TARGET_OS_MACOS)
+#if !defined(HOST_OS_MACOS)
"\n"
"--root-certs-file=<path>\n"
" The path to a file containing the trusted root certificates to use for\n"
@@ -1124,7 +1124,7 @@ static void PrintUsage() {
"--root-certs-cache=<path>\n"
" The path to a cache directory containing the trusted root certificates to\n"
" use for secure socket connections.\n"
-#endif // !defined(TARGET_OS_MACOS)
+#endif // !defined(HOST_OS_MACOS)
"\n"
"The following options are only used for VM development and may\n"
"be changed in any future version:\n");
« no previous file with comments | « runtime/bin/log_win.cc ('k') | runtime/bin/platform_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698