anchor.diff:        expect(buildInfo.dartObfuscation, isTrue);
         expect(buildInfo.dartDefines.contains('foo=bar'), isTrue);
       }, overrides: <Type, Generator>{
  -      AndroidBuilder: () => mockAndroidBuilder,
  +      AndroidBuilder: () => fakeAndroidBuilder,
       });
     });
   
     group('Gradle', () {
  -    ProcessManager mockProcessManager;
       Directory tempDir;
  -    AndroidSdk mockAndroidSdk;
   
       setUp(() {
         tempDir = globals.fs.systemTempDirectory.createTempSync('flutter_tools_packages_test.');
  -
  -      mockProcessManager = MockProcessManager();
  -      when(mockProcessManager.run(any,
  -          workingDirectory: anyNamed('workingDirectory'),
  -          environment: anyNamed('environment')))
  -        .thenAnswer((_) => Future<ProcessResult>.value(ProcessResult(0, 0, 'assembleRelease', '')));
  -      // Fallback with error.
  -      final Process process = createMockProcess(exitCode: 1);
  -      when(mockProcessManager.start(any,
  -          workingDirectory: anyNamed('workingDirectory'),
  -          environment: anyNamed('environment')))
  -        .thenAnswer((_) => Future<Process>.value(process));
  -      when(mockProcessManager.canRun(any)).thenReturn(false);
  -
  -      mockAndroidSdk = MockAndroidSdk();
  -      when(mockAndroidSdk.directory).thenReturn(globals.fs.directory('irrelevant'));
       });
   
       tearDown(() {
  
positive.code: 
    group('flag parsing', () {
      Directory tempDir;
      MockAndroidBuilder mockAndroidBuilder;
  
      setUp(() {
        mockAndroidBuilder = MockAndroidBuilder();
        tempDir = globals.fs.systemTempDirectory.createTempSync('flutter_tools_build_aar_test.');
      });
  
  
negative.code: // found in the LICENSE file.
  
  // @dart = 2.8
  
  import 'package:args/command_runner.dart';
  import 'package:flutter_tools/src/android/android_builder.dart';
  