Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1806)

Unified Diff: third_party/mojo/src/mojo/public/dart/rules.gni

Issue 954643002: Update mojo sdk to rev 3d23dae011859a2aae49f1d1adde705c8e85d819 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use run_renderer_in_process() Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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",
]
}
}
« no previous file with comments | « third_party/mojo/src/mojo/public/dart/application.dart ('k') | third_party/mojo/src/mojo/public/dart/src/application.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698