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

Unified Diff: webkit/support/setup_third_party.gyp

Issue 12224087: fix third_party_headers to work properly on Windows w/ ninja. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: improve comment in WriteForwardingHeader Created 7 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
« no previous file with comments | « no previous file | webkit/support/setup_third_party.py » ('j') | webkit/support/setup_third_party.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/setup_third_party.gyp
diff --git a/webkit/support/setup_third_party.gyp b/webkit/support/setup_third_party.gyp
index 7fc15ac9647091def3335e3c35ee6f50282a7c0f..7e776d6e7c1d234923a9cb4844c52847af9f66e1 100644
--- a/webkit/support/setup_third_party.gyp
+++ b/webkit/support/setup_third_party.gyp
@@ -11,6 +11,19 @@
},
'targets': [
{
+ # This target is only invoked when we are building chromium inside
+ # of a WebKit checkout. In this case, we will have chromium files
+ # that include WebKit headers via third_party/WebKit/Source/... ;
+ # that directory doesn't exist in a chromium-inside-webkit
+ # checkout, and so we need to create sets of forwarding headers.
+ #
+ # In addition, we can hit limits on the include paths on windows
+ # with a regular forwarding header due to the deep directory
+ # hierarchies, and so rather than using #includes that are relative
+ # to the directory containing the generated header, the generated files
+ # use #includes that are relative to <(DEPTH), which is assumed to
+ # already (and always) be in the include_dir path
Dirk Pranke 2013/02/09 03:35:12 Let me know if you think this comment is too verbo
Ryan Sleevi 2013/02/10 11:06:01 GYP doesn't ensure this. You would have to manuall
tony 2013/02/11 18:16:50 It sounds like we should have a direct_dependant_s
Ryan Sleevi 2013/02/11 18:19:18 <(DEPTH) won't be absolutized, so it would result
tony 2013/02/11 20:05:38 I see. It sounds like we should just hardcode '..
Dirk Pranke 2013/02/11 23:42:30 Someone's confused. Maybe it's me :) Assuming we a
Ryan Sleevi 2013/02/11 23:50:10 It's me. I'm the confused one. Ignore me.
+
'target_name': 'third_party_headers',
'type': 'none',
'direct_dependent_settings': {
@@ -33,6 +46,7 @@
'setup_headers',
'<(DEPTH)/public',
'<(webkit_client_api_dest)',
+ '<(DEPTH)',
],
'message': 'Generating forwarding headers for third_party/WebKit/Source/WebKit/chromium/public',
},
@@ -72,6 +86,7 @@
'setup_headers',
'<(DEPTH)/../mac/WebCoreSupport',
'<(mac_webcoresupport_dest)',
+ '<(DEPTH)',
],
'message': 'Generating forwarding headers for third_party/WebKit/Source/WebKit/mac/WebCoreSupport',
},
« no previous file with comments | « no previous file | webkit/support/setup_third_party.py » ('j') | webkit/support/setup_third_party.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698