Index: mojo/public/bindings/generators/cpp_templates/module-internal.h.tmpl |
diff --git a/mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl b/mojo/public/bindings/generators/cpp_templates/module-internal.h.tmpl |
similarity index 84% |
rename from mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl |
rename to mojo/public/bindings/generators/cpp_templates/module-internal.h.tmpl |
index 6d483dfe2a1611d63756c8e4122370af0c217f5b..22236c033eb5b100b871d619a151baa4494df7a1 100644 |
--- a/mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl |
+++ b/mojo/public/bindings/generators/cpp_templates/module-internal.h.tmpl |
@@ -2,15 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-{%- set header_guard = "MOJO_GENERATED_BINDINGS_%s_%s_INTERNAL_H_"| |
- format(module_name|upper, module_name|upper) %} |
+{%- set header_guard = "%s_INTERNAL_H_"| |
+ format(module_name|upper|replace("/","_")|replace(".","_")) %} |
#ifndef {{header_guard}} |
#define {{header_guard}} |
#include "mojo/public/bindings/lib/bindings_internal.h" |
{%- for import in imports %} |
-#include "{{include_prefix}}{{import.module_name|camel_to_underscores}}_internal.h" |
+#include "{{include_prefix}}{{import.module_name|camel_to_underscores}}-internal.h" |
{%- endfor %} |
namespace {{namespace}} { |