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

Unified Diff: third_party/mojo/src/mojo/public/python/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/python/rules.gni
diff --git a/third_party/mojo/src/mojo/public/python/rules.gni b/third_party/mojo/src/mojo/public/python/rules.gni
index 934a94e5decfa64222bebba2e44cd5600bbdeefe..2c1fab1135a60beba1ba989db8a57fbff9c48086 100644
--- a/third_party/mojo/src/mojo/public/python/rules.gni
+++ b/third_party/mojo/src/mojo/public/python/rules.gni
@@ -62,6 +62,12 @@ template("python_packaged_application") {
mojo_output = "$root_out_dir/" + target_name + ".mojo"
}
+ if (defined(invoker.debug) && invoker.debug) {
+ content_handler_param = "?debug=true"
+ } else {
+ content_handler_param = ""
+ }
+
python_package(package_name) {
sources = invoker.sources
if (defined(invoker.deps)) {
@@ -106,7 +112,7 @@ template("python_packaged_application") {
args = [
"--input=$rebase_input",
"--output=$rebase_output",
- "--line=#!mojo mojo:py_content_handler",
+ "--line=#!mojo mojo:py_content_handler${content_handler_param}",
]
}
}
« no previous file with comments | « third_party/mojo/src/mojo/public/python/mojo_system.pyx ('k') | third_party/mojo/src/mojo/public/tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698