| 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}",
|
| ]
|
| }
|
| }
|
|
|