[case1379467] To fix bug update android-31 platform_tools-31.0.3 build_tools 29.0.2 ndk-r21d jdk-1.8

This commit is contained in:
Young Kim 2021-12-15 11:14:19 +02:00
Родитель 2462c300a6
Коммит 20dffbd5f0
3 изменённых файлов: 19 добавлений и 11 удалений

Просмотреть файл

@ -1,5 +1,5 @@
JAVA_HOME ?= $(shell /usr/libexec/java_home -v 1.7)
JAVA_HOME ?= $(shell /usr/libexec/java_home -v 1.8)
APINAME = jdk
APIJAR = ${JAVA_HOME}/jre/lib/rt.jar

Просмотреть файл

@ -47,6 +47,7 @@ our $sdks =
"android-23" => "android-23_r02.zip",
"android-26" => "platform-26_r02.zip",
"android-28" => "platform-28_r06.zip",
"android-31" => "platform-31_r01.zip",
};
our $sdk_tools =
@ -59,18 +60,18 @@ our $sdk_tools =
our $platform_tools =
{
"version" => "28.0.1",
"windows" => "platform-tools_r28.0.1-windows.zip",
"linux" => "platform-tools_r28.0.1-linux.zip",
"macosx" => "platform-tools_r28.0.1-darwin.zip",
"version" => "31.0.3",
"windows" => "platform-tools_r31.0.3-windows.zip",
"linux" => "platform-tools_r31.0.3-linux.zip",
"macosx" => "platform-tools_r31.0.3-darwin.zip",
};
our $build_tools =
{
"version" => "28.0.3",
"windows" => "build-tools_r28.0.3-windows.zip",
"linux" => "build-tools_r28.0.3-linux.zip",
"macosx" => "build-tools_r28.0.3-macosx.zip",
"version" => "29.0.2",
"windows" => "build-tools_r29.0.2-windows.zip",
"linux" => "build-tools_r29.0.2-linux.zip",
"macosx" => "build-tools_r29.0.2-macosx.zip",
};
our $gpss =
@ -109,6 +110,12 @@ our $ndks =
"macosx" => "android-ndk-r19-darwin-x86_64.zip",
"linux" => "android-ndk-r19-linux-x86_64.zip",
},
"r21" =>
{
"windows" => "android-ndk-r21d-windows-x86_64.zip",
"macosx" => "android-ndk-r21d-darwin-x86_64.zip",
"linux" => "android-ndk-r21d-linux-x86_64.zip",
},
};
our $sourcePropVersions =
@ -117,6 +124,7 @@ our $sourcePropVersions =
"16.1.4479499" => "r16b (64-bit)",
"17.0.4754217" => "r17 (64-bit)",
"19.0.5232133" => "r19 (64-bit)",
"21.3.6528147" => "r21 (64-bit)",
};
our ($HOST_ENV, $TMP, $HOME, $WINZIP);

Просмотреть файл

@ -8,7 +8,7 @@ use File::Path;
use strict;
use warnings;
my $api = "android-28";
my $api = "android-31";
my @classes = (
'::android::Manifest_permission',
@ -85,7 +85,7 @@ sub BuildAndroid
my $class_names = join(' ', @classes);
my $threads = 8;
PrepareAndroidSDK::GetAndroidSDK("$api", "21", "froyo", "r19", "24");
PrepareAndroidSDK::GetAndroidSDK("$api", "21", "froyo", "r21", "24");
system("make clean") && die("Clean failed");
system("make api-source PLATFORM=android APINAME=\"$api\" APICLASSES=\"$class_names\"") && die("Failed to make API source");