Update the API level for Android to 28
This commit is contained in:
@@ -161,8 +161,8 @@ class AndroidPlatform extends PlatformTarget
|
||||
|
||||
for (architecture in architectures)
|
||||
{
|
||||
var haxeParams = [hxml, "-D", "android", "-D", "PLATFORM=android-21"];
|
||||
var cppParams = ["-Dandroid", "-DPLATFORM=android-21"];
|
||||
var haxeParams = [hxml, "-D", "android", "-D", "PLATFORM=android-28"];
|
||||
var cppParams = ["-Dandroid", "-DPLATFORM=android-28"];
|
||||
var path = sourceSet + "/jniLibs/armeabi";
|
||||
var suffix = ".so";
|
||||
|
||||
@@ -373,11 +373,11 @@ class AndroidPlatform extends PlatformTarget
|
||||
|
||||
var commands = [];
|
||||
|
||||
if (armv5) commands.push(["-Dandroid", "-DPLATFORM=android-21"]);
|
||||
if (armv7) commands.push(["-Dandroid", "-DHXCPP_ARMV7", "-DPLATFORM=android-21"]);
|
||||
if (arm64) commands.push(["-Dandroid", "-DHXCPP_ARM64", "-DPLATFORM=android-21"]);
|
||||
if (x86) commands.push(["-Dandroid", "-DHXCPP_X86", "-DPLATFORM=android-21"]);
|
||||
if (x64) commands.push(["-Dandroid", "-DHXCPP_X86_64", "-DPLATFORM=android-21"]);
|
||||
if (armv5) commands.push(["-Dandroid", "-DPLATFORM=android-28"]);
|
||||
if (armv7) commands.push(["-Dandroid", "-DHXCPP_ARMV7", "-DPLATFORM=android-28"]);
|
||||
if (arm64) commands.push(["-Dandroid", "-DHXCPP_ARM64", "-DPLATFORM=android-28"]);
|
||||
if (x86) commands.push(["-Dandroid", "-DHXCPP_X86", "-DPLATFORM=android-28"]);
|
||||
if (x64) commands.push(["-Dandroid", "-DHXCPP_X86_64", "-DPLATFORM=android-28"]);
|
||||
|
||||
CPPHelper.rebuild(project, commands);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user