Index: content/content.gyp |
diff --git a/content/content.gyp b/content/content.gyp |
index 73f8625e2760b7d5b2ce26dcd6764e1c5a2d4a1c..7da2b29e64afdcb0c0aaa6caf822318864403fc3 100644 |
--- a/content/content.gyp |
+++ b/content/content.gyp |
@@ -26,6 +26,44 @@ |
'includes': [ |
'../build/win_precompile.gypi', |
], |
+ 'targets': [ |
+ { |
+ 'target_name': 'webkit_version', |
+ 'type': 'none', |
+ 'actions': [ |
+ { |
+ 'action_name': 'generate_webkit_version', |
+ 'inputs': [ |
+ '<(script)', |
+ '<(lastchange)', |
+ '<(template)', |
+ ], |
+ 'outputs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h', |
+ ], |
+ 'action': ['python', |
+ '<(script)', |
+ '-f', '<(lastchange)', |
+ '<(template)', |
+ '<@(_outputs)', |
+ ], |
+ 'variables': { |
+ 'script': '<(DEPTH)/build/util/version.py', |
+ 'lastchange': '<(DEPTH)/build/util/LASTCHANGE.blink', |
+ 'template': 'webkit_version.h.in', |
+ }, |
+ }, |
+ ], |
+ 'direct_dependent_settings': { |
+ 'include_dirs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)', |
+ ], |
+ }, |
+ # Dependents may rely on files generated by this target or one of |
+ # its own hard dependencies. |
+ 'hard_dependency': 1, |
+ }, |
+ ], |
}], |
# In component mode, we build all of content as a single DLL. |
# However, in the static mode, we need to build content as multiple |