Add version resource to chrome_elf.dll

BUG=349926
TEST=NONE

Review URL: https://codereview.chromium.org/183973039

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255570 0039d316-1c4b-4281-b951-d872f2087c98
parent 9801e370
...@@ -12,6 +12,31 @@ ...@@ -12,6 +12,31 @@
'dll_hash.gypi', 'dll_hash.gypi',
], ],
'targets': [ 'targets': [
{
'target_name': 'chrome_elf_resources',
'type': 'none',
'conditions': [
['branding == "Chrome"', {
'variables': {
'branding_path': '../chrome/app/theme/google_chrome/BRANDING',
},
}, { # else branding!="Chrome"
'variables': {
'branding_path': '../chrome/app/theme/chromium/BRANDING',
},
}],
],
'variables': {
'output_dir': 'chrome_elf',
'template_input_path': '../chrome/app/chrome_version.rc.version',
},
'sources': [
'chrome_elf.ver',
],
'includes': [
'../chrome/version_resource_rules.gypi',
],
},
{ {
'target_name': 'chrome_elf', 'target_name': 'chrome_elf',
'type': 'shared_library', 'type': 'shared_library',
...@@ -22,11 +47,13 @@ ...@@ -22,11 +47,13 @@
'chrome_elf.def', 'chrome_elf.def',
'chrome_elf_main.cc', 'chrome_elf_main.cc',
'chrome_elf_main.h', 'chrome_elf_main.h',
'<(SHARED_INTERMEDIATE_DIR)/chrome_elf/chrome_elf_version.rc',
], ],
'dependencies': [ 'dependencies': [
'blacklist', 'blacklist',
'chrome_elf_breakpad', 'chrome_elf_breakpad',
'chrome_elf_lib', 'chrome_elf_lib',
'chrome_elf_resources',
], ],
'msvs_settings': { 'msvs_settings': {
'VCLinkerTool': { 'VCLinkerTool': {
......
INTERNAL_NAME=chrome_elf_dll
ORIGINAL_FILENAME=chrome_elf.dll
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment