Index: mojo/public/tools/bindings/mojom.gni |
diff --git a/mojo/public/tools/bindings/mojom.gni b/mojo/public/tools/bindings/mojom.gni |
index 6c03ea6a35e23385fc3b01a50a688dfc73d930c5..3ad86250f623a9e4e619a7ab74c4c948ce22cf90 100644 |
--- a/mojo/public/tools/bindings/mojom.gni |
+++ b/mojo/public/tools/bindings/mojom.gni |
@@ -181,7 +181,6 @@ template("mojom") { |
generator_js_outputs + generator_python_outputs |
args = [ |
"{{source}}", |
- "--dart_mojo_root=${mojo_root}", |
"--use_bundled_pylibs", |
"-d", |
rebase_path("//", root_build_dir), |
@@ -336,14 +335,8 @@ template("mojom") { |
output, |
] |
- invoker_import_from = "" |
- if (defined(invoker.import_from)) { |
- invoker_import_from = |
- rebase_path(invoker.import_from, "$root_build_dir/../../", ".") |
- } |
- |
rebase_import_from = |
- rebase_path("$root_build_dir/gen/$invoker_import_from", root_build_dir) |
+ rebase_path("$root_build_dir/gen/dart-gen", root_build_dir) |
if (defined(invoker.sources)) { |
rebase_inputs = rebase_path(inputs, root_build_dir) |
} |
@@ -355,7 +348,7 @@ template("mojom") { |
"--output=$rebase_output", |
] |
if (defined(invoker.sources)) { |
- args += [ "--inputs=$rebase_inputs" ] |
+ args += [ "--link-inputs=$rebase_inputs" ] |
} |
} |