summaryrefslogtreecommitdiffstats
path: root/xpcom/build/BinaryPath.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/build/BinaryPath.h')
-rw-r--r--xpcom/build/BinaryPath.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/xpcom/build/BinaryPath.h b/xpcom/build/BinaryPath.h
index 53034fcd8..a3ee5a517 100644
--- a/xpcom/build/BinaryPath.h
+++ b/xpcom/build/BinaryPath.h
@@ -84,22 +84,6 @@ private:
return rv;
}
-#elif defined(ANDROID)
- static nsresult Get(const char* argv0, char aResult[MAXPATHLEN])
- {
- // On Android, we use the GRE_HOME variable that is set by the Java
- // bootstrap code.
- const char* greHome = getenv("GRE_HOME");
-
- if (!greHome) {
- return NS_ERROR_FAILURE;
- }
-
- snprintf(aResult, MAXPATHLEN, "%s/%s", greHome, "dummy");
- aResult[MAXPATHLEN - 1] = '\0';
- return NS_OK;
- }
-
#elif defined(XP_UNIX)
static nsresult Get(const char* aArgv0, char aResult[MAXPATHLEN])
{