| Index: Source/build/scripts/templates/MakeNames.h.tmpl
|
| diff --git a/Source/build/scripts/templates/MakeNames.h.tmpl b/Source/build/scripts/templates/MakeNames.h.tmpl
|
| index 5745160e6e8ed8ee823977df0d4cf7516d4101f7..704b8e137aa199c1ebaab40e03da8f668d9d5dc7 100644
|
| --- a/Source/build/scripts/templates/MakeNames.h.tmpl
|
| +++ b/Source/build/scripts/templates/MakeNames.h.tmpl
|
| @@ -1,13 +1,17 @@
|
| {% from "macros.tmpl" import license %}
|
| {{ license() }}
|
|
|
| -#ifndef {{namespace}}Names_h
|
| -#define {{namespace}}Names_h
|
| +#ifndef {{namespace}}{{suffix}}Names_h
|
| +#define {{namespace}}{{suffix}}Names_h
|
|
|
| +{% if suffix %}
|
| +#include "{{namespace}}Names.h"
|
| +{% else %}
|
| {% if export %}
|
| #include "platform/PlatformExport.h"
|
| {% endif %}
|
| #include "wtf/text/AtomicString.h"
|
| +{% endif %}
|
|
|
| namespace WebCore {
|
| namespace {{namespace}}Names {
|
| @@ -24,7 +28,7 @@ extern const WTF::AtomicString {{entry|symbol}};
|
|
|
| #endif // {{namespace|to_macro_style}}_NAMES_HIDE_GLOBALS
|
|
|
| -{{export}} void init();
|
| +{{export}} void init{{suffix}}();
|
|
|
| } // {{namespace}}Names
|
| } // WebCore
|
|
|