| // Copyright 2019 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| import 'package:meta/meta.dart'; |
| |
| import 'package:flutter_tools/src/android/android_builder.dart'; |
| import 'package:flutter_tools/src/build_info.dart'; |
| import 'package:flutter_tools/src/project.dart'; |
| |
| /// A fake implementation of [AndroidBuilder]. |
| class FakeAndroidBuilder implements AndroidBuilder { |
| @override |
| Future<void> buildAar({ |
| @required FlutterProject project, |
| @required Set<AndroidBuildInfo> androidBuildInfo, |
| @required String target, |
| @required String outputDirectoryPath, |
| }) async {} |
| |
| @override |
| Future<void> buildApk({ |
| @required FlutterProject project, |
| @required AndroidBuildInfo androidBuildInfo, |
| @required String target, |
| }) async {} |
| |
| @override |
| Future<void> buildAab({ |
| @required FlutterProject project, |
| @required AndroidBuildInfo androidBuildInfo, |
| @required String target, |
| }) async {} |
| } |