Android: Enable arm64-v8a export by default

From August 1, 2019, Google Play requires that all new apps and app updates
include 64-bit versions, so we enable ARM64 by default.

IINM support for x86 and x86_64 is still be optional, so not enabling them
out of the box.

Part of #25030.
This commit is contained in:
Rémi Verschelde 2019-01-16 13:52:29 +01:00
parent 58d7619a79
commit 9e820cdf20

View file

@ -1170,7 +1170,7 @@ public:
Vector<String> abis = get_abis(); Vector<String> abis = get_abis();
for (int i = 0; i < abis.size(); ++i) { for (int i = 0; i < abis.size(); ++i) {
String abi = abis[i]; String abi = abis[i];
bool is_default = (abi == "armeabi-v7a"); bool is_default = (abi == "armeabi-v7a" || abi == "arm64-v8a");
r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, "architectures/" + abi), is_default)); r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, "architectures/" + abi), is_default));
} }