Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2711)

Unified Diff: chrome_elf/chrome_elf.gyp

Issue 183973039: Add version resource to chrome_elf.dll (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome_elf/chrome_elf.ver » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/chrome_elf.gyp
diff --git a/chrome_elf/chrome_elf.gyp b/chrome_elf/chrome_elf.gyp
index 1534dbf8a921f97bf93d0a57b0c7cc23b64d0d9f..165507d0be4a1734de45c31b906de35f7790a848 100644
--- a/chrome_elf/chrome_elf.gyp
+++ b/chrome_elf/chrome_elf.gyp
@@ -13,6 +13,31 @@
],
'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',
'include_dirs': [
@@ -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': {
« no previous file with comments | « no previous file | chrome_elf/chrome_elf.ver » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698