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

Unified Diff: components/update_client/update_query_params.cc

Issue 1892823002: MIPS64: Fix ChromePublic compile error for mips64el (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « build/build_config.h ('k') | sandbox/linux/services/credentials.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/update_query_params.cc
diff --git a/components/update_client/update_query_params.cc b/components/update_client/update_query_params.cc
index 1cd20737f1dec89cf0e7142c2394191fd1fbcef4..42c8c91ff526b5d8bb62a572ee7921a8adbd579c 100644
--- a/components/update_client/update_query_params.cc
+++ b/components/update_client/update_query_params.cc
@@ -44,6 +44,8 @@ const char kArch[] =
"arm";
#elif defined(__aarch64__)
"arm64";
+#elif defined(__mips__) && (__mips == 64)
+ "mips64el";
#elif defined(__mips__)
"mipsel";
#else
@@ -115,6 +117,8 @@ const char* UpdateQueryParams::GetNaclArch() {
return "arm64";
#elif defined(ARCH_CPU_MIPSEL)
return "mips32";
+#elif defined(ARCH_CPU_MIPS64EL)
+ return "mips64";
#else
// NOTE: when adding new values here, please remember to update the
// comment in the .h file about possible return values from this function.
« no previous file with comments | « build/build_config.h ('k') | sandbox/linux/services/credentials.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698