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

Unified Diff: base/base_paths_posix.cc

Issue 2807463004: GN: aix port along with linux_s390x, linux_ppc64 and linux_ppc64le support. (Closed)
Patch Set: removed the changes from //base/BUILD.gn Created 3 years, 8 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 | « PRESUBMIT.py ('k') | base/debug/debugger_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base_paths_posix.cc
diff --git a/base/base_paths_posix.cc b/base/base_paths_posix.cc
index baba3cd83f3be503185008ecb37007fbd11d37cb..c5123908d35f3dfefb9fba63edd66985918b4829 100644
--- a/base/base_paths_posix.cc
+++ b/base/base_paths_posix.cc
@@ -27,7 +27,7 @@
#if defined(OS_FREEBSD)
#include <sys/param.h>
#include <sys/sysctl.h>
-#elif defined(OS_SOLARIS)
+#elif defined(OS_SOLARIS) || defined(OS_AIX)
#include <stdlib.h>
#endif
@@ -67,7 +67,7 @@ bool PathProviderPosix(int key, FilePath* result) {
}
*result = FilePath(bin_dir);
return true;
-#elif defined(OS_OPENBSD)
+#elif defined(OS_OPENBSD) || defined(OS_AIX)
// There is currently no way to get the executable path on OpenBSD
char* cpath;
if ((cpath = getenv("CHROME_EXE_PATH")) != NULL)
« no previous file with comments | « PRESUBMIT.py ('k') | base/debug/debugger_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698