| Index: android_webview/android_webview.gyp
|
| diff --git a/android_webview/android_webview.gyp b/android_webview/android_webview.gyp
|
| index 4d7e251e44b02db7c7c95bbeeb0d4fd295f39aca..f0a08af8cc6f7b6a701a2a4002975d48e331b7ce 100644
|
| --- a/android_webview/android_webview.gyp
|
| +++ b/android_webview/android_webview.gyp
|
| @@ -52,6 +52,47 @@
|
| ],
|
| },
|
| {
|
| + 'target_name': 'android_webview_version',
|
| + 'type': 'none',
|
| + 'direct_dependent_settings': {
|
| + 'include_dirs': [
|
| + '<(SHARED_INTERMEDIATE_DIR)',
|
| + ],
|
| + },
|
| + # Because generate_version generates a header, we must set the
|
| + # hard_dependency flag.
|
| + 'hard_dependency': 1,
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'generate_version',
|
| + 'includes': [
|
| + '../build/util/version.gypi',
|
| + ],
|
| + 'variables': {
|
| + 'template_input_path': 'common/aw_version_info_values.h.version',
|
| + },
|
| + 'inputs': [
|
| + '<(version_py_path)',
|
| + '<(template_input_path)',
|
| + '<(version_path)',
|
| + '<(lastchange_path)',
|
| + ],
|
| + 'outputs': [
|
| + '<(SHARED_INTERMEDIATE_DIR)/android_webview/common/aw_version_info_values.h',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + '<(version_py_path)',
|
| + '-f', '<(version_path)',
|
| + '-f', '<(lastchange_path)',
|
| + '<(template_input_path)',
|
| + '<@(_outputs)',
|
| + ],
|
| + 'message': 'Generating version information',
|
| + },
|
| + ],
|
| + },
|
| + {
|
| 'target_name': 'android_webview_common',
|
| 'type': 'static_library',
|
| 'dependencies': [
|
| @@ -79,6 +120,7 @@
|
| '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
|
| '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
|
| 'android_webview_pak',
|
| + 'android_webview_version',
|
| ],
|
| 'include_dirs': [
|
| '..',
|
|
|