diff options
Diffstat (limited to 'remoting/host/win/version.rc.jinja2')
-rw-r--r-- | remoting/host/win/version.rc.jinja2 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/remoting/host/win/version.rc.jinja2 b/remoting/host/win/version.rc.jinja2 index 19ba83d..fcae127 100644 --- a/remoting/host/win/version.rc.jinja2 +++ b/remoting/host/win/version.rc.jinja2 @@ -3,11 +3,17 @@ // found in the LICENSE file. #include <winresrc.h> + #ifdef IDC_STATIC #undef IDC_STATIC #endif #define IDC_STATIC (-1) +// These marcos are copied from "base/stringize_macros.h" which cannot be +// included directly. +#define STRINGIZE_NO_EXPANSION(x) #x +#define STRINGIZE(x) STRINGIZE_NO_EXPANSION(x) + {% for lang in languages %} {% do SelectLanguage(lang) %} @@ -57,7 +63,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 |