Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d10e0177 authored by Douglas Leung's avatar Douglas Leung
Browse files

Add Mips64 Runtime ISA type.

Change-Id: I8d8d1ab10787899e91abafe269b59ee535e85653
parent aae1eb2c
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -231,8 +231,10 @@ bool LoadNativeBridge(const char* nb_library_filename,
static const char* kRuntimeISA = "arm";
static const char* kRuntimeISA = "arm";
#elif defined(__aarch64__)
#elif defined(__aarch64__)
static const char* kRuntimeISA = "arm64";
static const char* kRuntimeISA = "arm64";
#elif defined(__mips__)
#elif defined(__mips__) && !defined(__LP64__)
static const char* kRuntimeISA = "mips";
static const char* kRuntimeISA = "mips";
#elif defined(__mips__) && defined(__LP64__)
static const char* kRuntimeISA = "mips64";
#elif defined(__i386__)
#elif defined(__i386__)
static const char* kRuntimeISA = "x86";
static const char* kRuntimeISA = "x86";
#elif defined(__x86_64__)
#elif defined(__x86_64__)
+5 −3
Original line number Original line Diff line number Diff line
@@ -18,15 +18,17 @@


namespace android {
namespace android {


static const char* kISAs[] = { "arm", "arm64", "mips", "x86", "x86_64", "random", "64arm", "64_x86",
static const char* kISAs[] = { "arm", "arm64", "mips", "mips64", "x86", "x86_64", "random", "64arm",
                               "64_x86_64", "", "reallylongstringabcd", nullptr };
                               "64_x86", "64_x86_64", "", "reallylongstringabcd", nullptr };


#if defined(__arm__)
#if defined(__arm__)
static const char* kRuntimeISA = "arm";
static const char* kRuntimeISA = "arm";
#elif defined(__aarch64__)
#elif defined(__aarch64__)
static const char* kRuntimeISA = "arm64";
static const char* kRuntimeISA = "arm64";
#elif defined(__mips__)
#elif defined(__mips__) && !defined(__LP64__)
static const char* kRuntimeISA = "mips";
static const char* kRuntimeISA = "mips";
#elif defined(__mips__) && defined(__LP64__)
static const char* kRuntimeISA = "mips64";
#elif defined(__i386__)
#elif defined(__i386__)
static const char* kRuntimeISA = "x86";
static const char* kRuntimeISA = "x86";
#elif defined(__x86_64__)
#elif defined(__x86_64__)