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

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: rm build directory Created 6 years, 9 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
« no previous file with comments | « content/common/user_agent_ios.mm ('k') | content/content_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/common/user_agent_ios.mm ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698