Download Android AOT tools to the artifacts cache and build APKs using these tools (#3649)

Also update the engine to a build where these tools have been uplaoded
diff --git a/packages/flutter_tools/lib/src/build_configuration.dart b/packages/flutter_tools/lib/src/build_configuration.dart
index abe98aa..a70e691 100644
--- a/packages/flutter_tools/lib/src/build_configuration.dart
+++ b/packages/flutter_tools/lib/src/build_configuration.dart
@@ -24,6 +24,11 @@
 
 String getModeName(BuildMode mode) => getEnumName(mode);
 
+// Returns true if the selected build mode uses ahead-of-time compilation.
+bool isAotBuildMode(BuildMode mode) {
+  return mode == BuildMode.profile || mode == BuildMode.release;
+}
+
 enum HostPlatform {
   darwin_x64,
   linux_x64,