Index: remoting/host/win/version.rc.jinja2 |
diff --git a/remoting/host/win/version.rc.jinja2 b/remoting/host/win/version.rc.jinja2 |
index 19ba83dafdf62fed7769c649ba1adbed9e34a7b8..76224fa3a12abe16f8659e9f248455c8a2c92f0b 100644 |
--- a/remoting/host/win/version.rc.jinja2 |
+++ b/remoting/host/win/version.rc.jinja2 |
@@ -3,11 +3,15 @@ |
// found in the LICENSE file. |
#include <winresrc.h> |
+ |
#ifdef IDC_STATIC |
#undef IDC_STATIC |
#endif |
#define IDC_STATIC (-1) |
+#define STRINGIZE_NO_EXPANSION(x) #x |
garykac
2013/07/31 18:52:39
Please add reference base/strings/stringize_macros
alexeypa (please no reviews)
2013/07/31 20:45:19
Done.
|
+#define STRINGIZE(x) STRINGIZE_NO_EXPANSION(x) |
+ |
{% for lang in languages %} |
{% do SelectLanguage(lang) %} |
@@ -57,7 +61,7 @@ BEGIN |
VALUE "FileDescription", "{% trans %}REMOTING_HOST_PLUGIN_DESCRIPTION{% endtrans %}" |
VALUE "InternalName", "remoting_host_plugin.dll" |
VALUE "OriginalFilename", "remoting_host_plugin.dll" |
- VALUE "MIMEType", "application/vnd.chromium.remoting-host" |
+ VALUE "MIMEType", STRINGIZE(HOST_PLUGIN_MIME_TYPE) |
#else |
#error BINARY must be set to one of BINARY_XXX values. |
#endif |