未验证 提交 3190d54a 编写于 作者: J Jason Simmons 提交者: GitHub

Add the Android SDK lambda stub library to the classpath (#17508)

Previously the build scripts obtained the lambda support classes from rt.jar,
which is no longer provided by recent versions of the JDK.
上级 e2fcc66f
......@@ -255,15 +255,24 @@ action("flutter_shell_java") {
source_jar_path,
source_jar_path + ".md5.stamp",
]
inputs = [ android_sdk_jar ] + embedding_dependencies_jars
lambda_jar = "$android_sdk_build_tools/core-lambda-stubs.jar"
inputs = [
android_sdk_jar,
lambda_jar,
] + embedding_dependencies_jars
_rebased_current_path = rebase_path(".")
_rebased_jar_path = rebase_path(jar_path, root_build_dir)
_rebased_source_jar_path = rebase_path(source_jar_path, root_build_dir)
_rebased_depfile = rebase_path(depfile, root_build_dir)
_rebased_android_sdk_jar = rebase_path(android_sdk_jar, root_build_dir)
_rebased_classpath = [ _rebased_android_sdk_jar ] +
rebase_path(embedding_dependencies_jars, root_build_dir)
_rebased_lambda_jar = rebase_path(lambda_jar, root_build_dir)
_rebased_classpath =
[
_rebased_android_sdk_jar,
_rebased_lambda_jar,
] + rebase_path(embedding_dependencies_jars, root_build_dir)
args = [
"--depfile=$_rebased_depfile",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册