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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome_elf/chrome_elf.ver » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 { 4 {
5 'variables': { 5 'variables': {
6 'chromium_code': 1, 6 'chromium_code': 1,
7 }, 7 },
8 'includes': [ 8 'includes': [
9 '../build/util/version.gypi', 9 '../build/util/version.gypi',
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
gab 2014/03/06 18:50:21 unrelated nit but shouldn't we s/../<(DEPTH) ?
robertshield 2014/03/06 20:48:54 <(DEPTH) isn't meant to be used in .gyp files: htt
11 'blacklist.gypi', 11 'blacklist.gypi',
12 'dll_hash.gypi', 12 'dll_hash.gypi',
13 ], 13 ],
14 'targets': [ 14 'targets': [
15 { 15 {
16 'target_name': 'chrome_elf_resources',
17 'type': 'none',
18 'conditions': [
19 ['branding == "Chrome"', {
20 'variables': {
21 'branding_path': '../chrome/app/theme/google_chrome/BRANDING',
22 },
23 }, { # else branding!="Chrome"
24 'variables': {
25 'branding_path': '../chrome/app/theme/chromium/BRANDING',
26 },
27 }],
28 ],
29 'variables': {
30 'output_dir': 'chrome_elf',
31 'template_input_path': '../chrome/app/chrome_version.rc.version',
32 },
33 'sources': [
34 'chrome_elf.ver',
35 ],
36 'includes': [
37 '../chrome/version_resource_rules.gypi',
38 ],
39 },
40 {
16 'target_name': 'chrome_elf', 41 'target_name': 'chrome_elf',
17 'type': 'shared_library', 42 'type': 'shared_library',
18 'include_dirs': [ 43 'include_dirs': [
19 '..', 44 '..',
20 ], 45 ],
21 'sources': [ 46 'sources': [
22 'chrome_elf.def', 47 'chrome_elf.def',
23 'chrome_elf_main.cc', 48 'chrome_elf_main.cc',
24 'chrome_elf_main.h', 49 'chrome_elf_main.h',
50 '<(SHARED_INTERMEDIATE_DIR)/chrome_elf/chrome_elf_version.rc',
25 ], 51 ],
26 'dependencies': [ 52 'dependencies': [
27 'blacklist', 53 'blacklist',
28 'chrome_elf_breakpad', 54 'chrome_elf_breakpad',
29 'chrome_elf_lib', 55 'chrome_elf_lib',
56 'chrome_elf_resources',
30 ], 57 ],
31 'msvs_settings': { 58 'msvs_settings': {
32 'VCLinkerTool': { 59 'VCLinkerTool': {
33 'BaseAddress': '0x01c20000', 60 'BaseAddress': '0x01c20000',
34 # Set /SUBSYSTEM:WINDOWS. 61 # Set /SUBSYSTEM:WINDOWS.
35 'SubSystem': '2', 62 'SubSystem': '2',
36 'AdditionalDependencies!': [ 63 'AdditionalDependencies!': [
37 'user32.lib', 64 'user32.lib',
38 ], 65 ],
39 'IgnoreDefaultLibraryNames': [ 66 'IgnoreDefaultLibraryNames': [
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 # Set /SUBSYSTEM:WINDOWS. 192 # Set /SUBSYSTEM:WINDOWS.
166 'SubSystem': '2', 193 'SubSystem': '2',
167 }, 194 },
168 }, 195 },
169 }, 196 },
170 ], 197 ],
171 }], 198 }],
172 ], 199 ],
173 } 200 }
174 201
OLDNEW
« 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