From fe1797c17e295a04f696b0553b919d2d02eb0230 Mon Sep 17 00:00:00 2001 From: Michael Klimushyn Date: Fri, 16 Aug 2019 17:09:09 -0700 Subject: [PATCH] More updates to the Robolectric test harness (flutter/engine#11068) Previously the test wasn't correctly re-building the engine when its files changed on multiple runs of `testing/run_tests.py`. It looks like this is because the test build target wasn't depending on the entire engine Android dependency, so some code changes were being ignored. Update the build. --- engine/src/flutter/shell/platform/android/BUILD.gn | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/flutter/shell/platform/android/BUILD.gn b/engine/src/flutter/shell/platform/android/BUILD.gn index 2568032a7a..6a286f3567 100644 --- a/engine/src/flutter/shell/platform/android/BUILD.gn +++ b/engine/src/flutter/shell/platform/android/BUILD.gn @@ -449,6 +449,7 @@ action("robolectric_tests") { args += rebase_path(sources, root_build_dir) deps = [ + ":android", ":flutter_shell_java", ] }