| Index: base/base.gyp
|
| diff --git a/base/base.gyp b/base/base.gyp
|
| index 15963bae7e9937abf6d60a96c9a73f49f983f77c..da7a0df90713cefcf3d761f79537206087b1be61 100644
|
| --- a/base/base.gyp
|
| +++ b/base/base.gyp
|
| @@ -320,6 +320,36 @@
|
| ],
|
| 'conditions': [
|
| [ 'OS == "linux"', {
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'linux_version',
|
| + 'variables': {
|
| + 'template_input_path': 'file_version_info_linux.h.version'
|
| + },
|
| + 'inputs': [
|
| + '<(template_input_path)',
|
| + '../chrome/VERSION',
|
| + '../chrome/tools/build/linux/version.sh',
|
| + ],
|
| + 'conditions': [
|
| + [ 'branding == "Chrome"', {
|
| + 'inputs': ['../chrome/app/theme/google_chrome/BRANDING']
|
| + }, { # else branding!="Chrome"
|
| + 'inputs': ['../chrome/app/theme/chromium/BRANDING']
|
| + }],
|
| + ],
|
| + 'outputs': [
|
| + '<(INTERMEDIATE_DIR)/base/file_version_info_linux.h',
|
| + ],
|
| + 'action': [
|
| + '../chrome/tools/build/linux/version.sh',
|
| + '<(template_input_path)', '<@(_outputs)', '../chrome'
|
| + ],
|
| + },
|
| + ],
|
| + 'include_dirs': [
|
| + '<(INTERMEDIATE_DIR)',
|
| + ],
|
| 'sources/': [ ['exclude', '_(mac|win)\\.cc$'],
|
| ['exclude', '\\.mm?$' ] ],
|
| 'sources!': [
|
|
|