Skip to content

Commit

Permalink
Add version resource to chrome_elf.dll
Browse files Browse the repository at this point in the history
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
  • Loading branch information
robertshield@chromium.org committed Mar 7, 2014
1 parent 9801e37 commit b8271cc
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions chrome_elf/chrome_elf.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,31 @@
'dll_hash.gypi',
],
'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',
'type': 'shared_library',
Expand All @@ -22,11 +47,13 @@
'chrome_elf.def',
'chrome_elf_main.cc',
'chrome_elf_main.h',
'<(SHARED_INTERMEDIATE_DIR)/chrome_elf/chrome_elf_version.rc',
],
'dependencies': [
'blacklist',
'chrome_elf_breakpad',
'chrome_elf_lib',
'chrome_elf_resources',
],
'msvs_settings': {
'VCLinkerTool': {
Expand Down
2 changes: 2 additions & 0 deletions chrome_elf/chrome_elf.ver
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INTERNAL_NAME=chrome_elf_dll
ORIGINAL_FILENAME=chrome_elf.dll

0 comments on commit b8271cc

Please sign in to comment.