cleanup use of build runner internals (#40045)


diff --git a/packages/flutter_tools/lib/src/web/compile.dart b/packages/flutter_tools/lib/src/web/compile.dart
index 94bd2ac..f749851 100644
--- a/packages/flutter_tools/lib/src/web/compile.dart
+++ b/packages/flutter_tools/lib/src/web/compile.dart
@@ -31,6 +31,7 @@
     result = await webCompilationProxy.initialize(
       projectDirectory: FlutterProject.current().directory,
       mode: buildInfo.mode,
+      projectName: flutterProject.manifest.appName,
     );
     if (result) {
       // Places assets adjacent to the web stuff.
@@ -80,14 +81,10 @@
   /// the entrypoints for dart2js to later take over.
   Future<bool> initialize({
     @required Directory projectDirectory,
+    @required String projectName,
     String testOutputDir,
     BuildMode mode,
   }) async {
     throw UnimplementedError();
   }
-
-  /// Invalidate the source files in `inputs` and recompile them to JavaScript.
-  Future<void> invalidate({@required List<Uri> inputs}) async {
-    throw UnimplementedError();
-  }
 }