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

This commit is contained in:
Dan Field
2021-07-13 08:45:22 -07:00
committed by GitHub
parent cda2feb215
commit 1872500bb0

View File

@@ -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") {