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

Side by Side Diff: chrome/installer/installer.gyp

Issue 579014: Make LASTCHANGE work properly for make build. (Closed)
Patch Set: Created 10 years, 10 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
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/installer/mini_installer.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 'variables': { 2 'variables': {
3 'version_py': '../../chrome/tools/build/version.py', 3 'version_py': '../../chrome/tools/build/version.py',
4 'version_path': '../../chrome/VERSION', 4 'version_path': '../../chrome/VERSION',
5 'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', 5 'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE',
6 # 'branding_dir' is set in the 'conditions' section at the bottom. 6 # 'branding_dir' is set in the 'conditions' section at the bottom.
7 }, 7 },
8 'includes': [ 8 'includes': [
9 # Two versions of installer_util target are defined in installer_util.gypi. 9 # Two versions of installer_util target are defined in installer_util.gypi.
10 # This allows to keep all the settings relevant to these targets in one 10 # This allows to keep all the settings relevant to these targets in one
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 { 217 {
218 'rule_name': 'setup_version', 218 'rule_name': 'setup_version',
219 'extension': 'version', 219 'extension': 'version',
220 'variables': { 220 'variables': {
221 'version_py': '../../chrome/tools/build/version.py', 221 'version_py': '../../chrome/tools/build/version.py',
222 'template_input_path': 'setup/setup_exe_version.rc.version', 222 'template_input_path': 'setup/setup_exe_version.rc.version',
223 }, 223 },
224 'inputs': [ 224 'inputs': [
225 '<(template_input_path)', 225 '<(template_input_path)',
226 '<(version_path)', 226 '<(version_path)',
227 '<(lastchange_path)',
228 '<(branding_dir)/BRANDING', 227 '<(branding_dir)/BRANDING',
229 ], 228 ],
230 'outputs': [ 229 'outputs': [
231 '<(SHARED_INTERMEDIATE_DIR)/setup/setup_exe_version.rc', 230 '<(SHARED_INTERMEDIATE_DIR)/setup/setup_exe_version.rc',
232 ], 231 ],
233 'action': [ 232 'action': [
234 'python', '<(version_py)', 233 'python', '<(version_py)',
235 '-f', '<(version_path)', 234 '-f', '<(version_path)',
236 '-f', '<(lastchange_path)', 235 '-f', '<(lastchange_path)',
237 '-f', '<(branding_dir)/BRANDING', 236 '-f', '<(branding_dir)/BRANDING',
238 '<(template_input_path)', 237 '<(template_input_path)',
239 '<@(_outputs)', 238 '<@(_outputs)',
240 ], 239 ],
240 'dependencies': [
241 '../../build/util/build_util.gyp:lastchange',
242 ],
241 'process_outputs_as_sources': 1, 243 'process_outputs_as_sources': 1,
242 'message': 'Generating version information' 244 'message': 'Generating version information'
243 }, 245 },
244 { 246 {
245 'rule_name': 'server_dlls', 247 'rule_name': 'server_dlls',
246 'extension': 'release', 248 'extension': 'release',
247 'variables': { 249 'variables': {
248 'scan_server_dlls_py' : '../tools/build/win/scan_server_dlls.py' , 250 'scan_server_dlls_py' : '../tools/build/win/scan_server_dlls.py' ,
249 'template_file': 'mini_installer/chrome_frame.release', 251 'template_file': 'mini_installer/chrome_frame.release',
250 }, 252 },
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 '<(branding_dir)/BRANDING', 421 '<(branding_dir)/BRANDING',
420 ], 422 ],
421 }, 423 },
422 ], 424 ],
423 'actions': [ 425 'actions': [
424 { 426 {
425 'action_name': 'save_build_info', 427 'action_name': 'save_build_info',
426 'inputs': [ 428 'inputs': [
427 '<(branding_dir)/BRANDING', 429 '<(branding_dir)/BRANDING',
428 '<(version_path)', 430 '<(version_path)',
429 '<(lastchange_path)',
430 ], 431 ],
431 'outputs': [ 432 'outputs': [
432 '<(PRODUCT_DIR)/installer/version.txt', 433 '<(PRODUCT_DIR)/installer/version.txt',
433 ], 434 ],
434 # Just output the default version info variables. 435 # Just output the default version info variables.
435 'action': [ 436 'action': [
436 'python', '<(version_py)', 437 'python', '<(version_py)',
437 '-f', '<(branding_dir)/BRANDING', 438 '-f', '<(branding_dir)/BRANDING',
438 '-f', '<(version_path)', 439 '-f', '<(version_path)',
439 '-f', '<(lastchange_path)', 440 '-f', '<(lastchange_path)',
440 '-o', '<@(_outputs)' 441 '-o', '<@(_outputs)'
441 ], 442 ],
443 'dependencies': [
444 '../../build/util/build_util.gyp:lastchange',
445 ],
442 }, 446 },
443 ], 447 ],
444 }, 448 },
445 { 449 {
446 'target_name': 'linux_packages_all', 450 'target_name': 'linux_packages_all',
447 'suppress_wildcard': 1, 451 'suppress_wildcard': 1,
448 'type': 'none', 452 'type': 'none',
449 'dependencies': [ 453 'dependencies': [
450 'linux_packages_unstable', 454 'linux_packages_unstable',
451 'linux_packages_beta', 455 'linux_packages_beta',
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 }, 764 },
761 }], 765 }],
762 ], 766 ],
763 } 767 }
764 768
765 # Local Variables: 769 # Local Variables:
766 # tab-width:2 770 # tab-width:2
767 # indent-tabs-mode:nil 771 # indent-tabs-mode:nil
768 # End: 772 # End:
769 # vim: set expandtab tabstop=2 shiftwidth=2: 773 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/installer/mini_installer.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698