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

Unified Diff: content/content.gyp

Issue 186883002: Move user_agent code from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: link chrome Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: content/content.gyp
diff --git a/content/content.gyp b/content/content.gyp
index 1d323520b14605031ec98980d038476598d352c6..3807d4d2d833ed63b131e17bd1d7f7241f2c42d8 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': 'build/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

Powered by Google App Engine
This is Rietveld 408576698