[fidlgen_dart] Removing deprecated args
These args are now unused. Removing.
Test: builds
Change-Id: I7dc0a7ee7654b610122ffa5df5528393d19fe1be
diff --git a/bin/fidlgen_dart/fidlgen_dart.go b/bin/fidlgen_dart/fidlgen_dart.go
index 3836729..3658bc5 100644
--- a/bin/fidlgen_dart/fidlgen_dart.go
+++ b/bin/fidlgen_dart/fidlgen_dart.go
@@ -10,7 +10,6 @@
"log"
"os"
"path"
- "path/filepath"
"fidl/compiler/backend/types"
"fidlgen_dart/backend"
@@ -36,14 +35,6 @@
"output path for the test bindings."),
dartfmt: flag.String("dartfmt", "",
"path to the dartfmt tool"),
-
- // TODO(pascallouis): Because invocation of the fidlgen_dart backend is
- // controlled in fuchsia.git, we must preserve backwards compatibility
- // with this setting as fidl_dart.gni gets updated, and rolls forward.
- deprecatedOutputBase: flag.String("output-base", "",
- "[deprecated] path to the output directory"),
- deprecatedIncludeBase: flag.String("include-base", "",
- "[deprecated] unused"),
}
// valid returns true if the parsed flags are valid.
@@ -79,14 +70,6 @@
generator := backend.NewFidlGenerator()
- // TODO(pascallouis): Remove.
- if outputBase := *flags.deprecatedOutputBase; outputBase != "" {
- asyncPath := filepath.Join(outputBase, "fidl_async.dart")
- testPath := filepath.Join(outputBase, "fidl_test.dart")
- flags.outAsyncPath = &asyncPath
- flags.outTestPath = &testPath
- }
-
outAsyncPath := *flags.outAsyncPath
if outAsyncPath != "" {
err := generator.GenerateAsyncFile(tree, outAsyncPath, *flags.dartfmt)