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

Side by Side Diff: base/base.gyp

Issue 42542: Include version information in Linux chrome. (Closed)
Patch Set: enabled AlwaysBuild Created 11 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
« no previous file with comments | « no previous file | base/base.scons » ('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 (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/common.gypi', 10 '../build/common.gypi',
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 # These warnings are needed for the files in third_party\dmg_fp. 317 # These warnings are needed for the files in third_party\dmg_fp.
318 'msvs_disabled_warnings': [ 318 'msvs_disabled_warnings': [
319 4244, 4554, 4018, 4102, 319 4244, 4554, 4018, 4102,
320 ], 320 ],
321 'conditions': [ 321 'conditions': [
322 [ 'OS == "linux"', { 322 [ 'OS == "linux"', {
323 'actions': [ 323 'actions': [
324 { 324 {
325 'action_name': 'linux_version', 325 'action_name': 'linux_version',
326 'variables': { 326 'variables': {
327 'template_input_path': 'file_version_info_linux.h.version' 327 'template_input_path': 'file_version_info_linux.h.version',
328 'template_output_path':
329 '<(INTERMEDIATE_DIR)/base/file_version_info_linux.h',
328 }, 330 },
329 'inputs': [ 331 'inputs': [
330 '<(template_input_path)', 332 '<(template_input_path)',
331 '../chrome/VERSION', 333 '../chrome/VERSION',
332 '../chrome/tools/build/linux/version.sh', 334 '../chrome/tools/build/linux/version.sh',
333 ], 335 ],
334 'conditions': [ 336 'conditions': [
335 [ 'branding == "Chrome"', { 337 [ 'branding == "Chrome"', {
336 'inputs': ['../chrome/app/theme/google_chrome/BRANDING'] 338 'inputs': ['../chrome/app/theme/google_chrome/BRANDING']
337 }, { # else branding!="Chrome" 339 }, { # else branding!="Chrome"
338 'inputs': ['../chrome/app/theme/chromium/BRANDING'] 340 'inputs': ['../chrome/app/theme/chromium/BRANDING']
339 }], 341 }],
340 ], 342 ],
341 'outputs': [ 343 'outputs': [
342 '<(INTERMEDIATE_DIR)/base/file_version_info_linux.h', 344 # Use a non-existant output so this action always runs and
345 # generates version information, e.g. to capture revision
346 # changes, which aren't captured by file dependencies.
347 '<(INTERMEDIATE_DIR)/base/file_version_info_linux.bogus',
343 ], 348 ],
344 'action': [ 349 'action': [
345 '../chrome/tools/build/linux/version.sh', 350 '../chrome/tools/build/linux/version.sh',
346 '<(template_input_path)', '<@(_outputs)', '../chrome' 351 '<(template_input_path)', '<(template_output_path)',
352 '../chrome'
347 ], 353 ],
348 }, 354 },
349 ], 355 ],
350 'include_dirs': [ 356 'include_dirs': [
351 '<(INTERMEDIATE_DIR)', 357 '<(INTERMEDIATE_DIR)',
352 ], 358 ],
353 'sources/': [ ['exclude', '_(mac|win)\\.cc$'], 359 'sources/': [ ['exclude', '_(mac|win)\\.cc$'],
354 ['exclude', '\\.mm?$' ] ], 360 ['exclude', '\\.mm?$' ] ],
355 'sources!': [ 361 'sources!': [
356 # Linux has an implementation of idle_timer that depends 362 # Linux has an implementation of idle_timer that depends
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 'target_name': 'debug_message', 675 'target_name': 'debug_message',
670 'type': 'executable', 676 'type': 'executable',
671 'sources': [ 677 'sources': [
672 'debug_message.cc', 678 'debug_message.cc',
673 ], 679 ],
674 }, 680 },
675 ], 681 ],
676 }], 682 }],
677 ], 683 ],
678 } 684 }
OLDNEW
« no previous file with comments | « no previous file | base/base.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698