| Index: third_party/WebKit/Source/build/scripts/templates/InstrumentingProbesInl.h.tmpl
|
| diff --git a/third_party/WebKit/Source/platform/probe/templates/InstrumentingProbesInl.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/InstrumentingProbesInl.h.tmpl
|
| similarity index 84%
|
| rename from third_party/WebKit/Source/platform/probe/templates/InstrumentingProbesInl.h.tmpl
|
| rename to third_party/WebKit/Source/build/scripts/templates/InstrumentingProbesInl.h.tmpl
|
| index db28b1dd4158a0bdd240dd5475476d05466c0a81..d525812339731788e616f3e852966a20e11dde47 100644
|
| --- a/third_party/WebKit/Source/platform/probe/templates/InstrumentingProbesInl.h.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/InstrumentingProbesInl.h.tmpl
|
| @@ -12,9 +12,7 @@
|
| {{include}}
|
| {% endfor %}
|
|
|
| -{% for define in file.defines %}
|
| -{{define}}
|
| -{% endfor %}
|
| +{% set export_symbol = config["settings"]["export_symbol"] %}
|
|
|
| namespace blink {
|
|
|
| @@ -37,7 +35,7 @@ namespace probe {
|
| {% if probe.is_scoped %}
|
|
|
|
|
| -class PROBE_EXPORT {{probe.name}} : public ProbeBase {
|
| +class {{export_symbol}} {{probe.name}} : public ProbeBase {
|
| STACK_ALLOCATED()
|
| public:
|
| explicit {{probe.name}}({{ params_decl(probe) }});
|
| @@ -48,7 +46,7 @@ class PROBE_EXPORT {{probe.name}} : public ProbeBase {
|
| };
|
| {%- else %}
|
|
|
| -PROBE_EXPORT {{probe.return_type}} {{probe.name}}({{ params_decl(probe) }});
|
| +{{export_symbol}} {{probe.return_type}} {{probe.name}}({{ params_decl(probe) }});
|
|
|
| {%- endif %}
|
| {%- endfor %}
|
|
|