| Index: webkit/glue/webkit_glue.gypi
|
| diff --git a/webkit/glue/webkit_glue.gypi b/webkit/glue/webkit_glue.gypi
|
| index b6a8c6a9d0e1cfbc70fb9eabe2ca8ff0ee94fe57..eec99bf095366ed6ed36728922c26a54e4a96160 100644
|
| --- a/webkit/glue/webkit_glue.gypi
|
| +++ b/webkit/glue/webkit_glue.gypi
|
| @@ -120,13 +120,23 @@
|
| {
|
| 'action_name': 'webkit_version',
|
| 'inputs': [
|
| - '../build/webkit_version.py',
|
| - '<(webkit_src_dir)/Source/WebCore/Configurations/Version.xcconfig',
|
| + '<(script)',
|
| + '<(webkit_src_dir)<(version_file)',
|
| + '../../build/util/lastchange.py', # Used by the script.
|
| ],
|
| 'outputs': [
|
| '<(INTERMEDIATE_DIR)/webkit_version.h',
|
| ],
|
| - 'action': ['python', '<@(_inputs)', '<(INTERMEDIATE_DIR)'],
|
| + 'action': ['python', '<(script)', '<(webkit_src_dir)',
|
| + '<(version_file)', '<(INTERMEDIATE_DIR)'],
|
| + 'variables': {
|
| + 'script': '../build/webkit_version.py',
|
| + # version_file is a relative path from |webkit_src_dir| to
|
| + # the version file. But gyp will eat the variable unless
|
| + # it looks like an absolute path, so write it like one and
|
| + # then use it carefully above.
|
| + 'version_file': '/Source/WebCore/Configurations/Version.xcconfig',
|
| + },
|
| },
|
| ],
|
| 'include_dirs': [
|
|
|