Index: mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl |
diff --git a/mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl b/mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl |
index 1616e7c9d7820eeefa4eddfe88698ca8e6116113..3ce4ab649623db0677ae0005c1e0ef83b2e9cdf4 100644 |
--- a/mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl |
+++ b/mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl |
@@ -3,10 +3,7 @@ |
// found in the LICENSE file. |
define("{{module.path}}", [ |
-{%- if module.path != |
- "mojo/public/interfaces/bindings/interface_control_messages.mojom" and |
- module.path != |
- "mojo/public/interfaces/bindings/pipe_control_messages.mojom" %} |
+{%- if module.path != "mojo/public/interfaces/bindings/interface_control_messages.mojom" %} |
"mojo/public/js/bindings", |
{%- endif %} |
"mojo/public/js/codec", |
@@ -16,10 +13,7 @@ |
"{{import.module.path}}", |
{%- endfor %} |
], function( |
-{%- if module.path != |
- "mojo/public/interfaces/bindings/interface_control_messages.mojom" and |
- module.path != |
- "mojo/public/interfaces/bindings/pipe_control_messages.mojom" -%} |
+{%- if module.path != "mojo/public/interfaces/bindings/interface_control_messages.mojom" -%} |
bindings, {% endif -%} |
codec, core, validator |
{%- for import in imports -%} |