未验证 提交 9102131c 编写于 作者: D Dan Field 提交者: GitHub

Build the robolectric tests by default for debug armv7 (#27345)

上级 1bc09bc1
......@@ -543,7 +543,7 @@ action("robolectric_tests") {
args += rebase_path(sources, root_build_dir)
deps = [
":android",
":android_jar",
":flutter_shell_java",
]
}
......@@ -584,6 +584,12 @@ zip_bundle("android") {
]
deps += [ ":flutter_shell_native" ]
}
# We only run the robolectric tests for android_debug_unopt (arm CPU), and
# the target is relatively expensive to build.
if (flutter_runtime_mode == "debug" && current_cpu == "arm") {
deps += [ ":robolectric_tests" ]
}
}
action("gen_android_javadoc") {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册