| Index: third_party/mojo/src/mojo/public/dart/rules.gni
|
| diff --git a/third_party/mojo/src/mojo/public/dart/rules.gni b/third_party/mojo/src/mojo/public/dart/rules.gni
|
| index aea59e35f74b11402b1bba4dc31bbfd11776b5ea..5845f2e5c096746439eb1bb3c36b67866374f7aa 100644
|
| --- a/third_party/mojo/src/mojo/public/dart/rules.gni
|
| +++ b/third_party/mojo/src/mojo/public/dart/rules.gni
|
| @@ -101,12 +101,17 @@ template("dart_packaged_application") {
|
| datadeps = invoker.datadeps
|
| }
|
|
|
| + line = "#!mojo mojo:dart_content_handler"
|
| + if (defined(invoker.strict) && invoker.strict == true) {
|
| + line = "#!mojo mojo:dart_content_handler?strict=true"
|
| + }
|
| +
|
| rebase_input = rebase_path(input, root_build_dir)
|
| rebase_output = rebase_path(output, root_build_dir)
|
| args = [
|
| "--input=$rebase_input",
|
| "--output=$rebase_output",
|
| - "--line=#!mojo mojo:dart_content_handler",
|
| + "--line=$line",
|
| ]
|
| }
|
| }
|
|
|