Bug 76879

Summary: [chromium] Add <(SHARED_INTERMEDIATE_DIR)/webkit to include path of targets that depend on WebKit API so they pick up the copied headers in an onion build
Product: WebKit Reporter: James Robinson <jamesr>
Component: New BugsAssignee: James Robinson <jamesr>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch dpranke: review+

James Robinson
Reported 2012-01-23 16:36:20 PST
[chromium] Add <(SHARED_INTERMEDIATE_DIR)/webkit to include path of targets that depend on WebKit API so they pick up the copied headers in an onion build
Attachments
Patch (1.67 KB, patch)
2012-01-23 16:36 PST, James Robinson
no flags
Patch (1.60 KB, patch)
2012-01-23 16:51 PST, James Robinson
dpranke: review+
James Robinson
Comment 1 2012-01-23 16:36:50 PST
James Robinson
Comment 2 2012-01-23 16:41:12 PST
The particular problem this solves is that this target: http://src.chromium.org/viewvc/chrome/trunk/src/ppapi/ppapi_shared.gypi?view=markup has a dependency directly on <(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit and files with includes that look like #include "third_party/WebKit/Source/WebKit/...". In a chromium-inside-WebKit checkout we resolve includes by this by generating copies of headers into <(SHARED_INTERMEDIATE_DIR)/webkit/third_party/WebKit/... via the setup_third_party.py script in webkit_support. Most (all?) targets in webkit/*/ add this include_dir in other ways, so this only impacts chromium code that directly depends on third_party/WebKit/... which is probably why we haven't seen it in other places.
Dirk Pranke
Comment 3 2012-01-23 16:47:12 PST
Comment on attachment 123655 [details] Patch please wrap this in a inside_chromium_build==0 block.
James Robinson
Comment 4 2012-01-23 16:51:16 PST
James Robinson
Comment 5 2012-01-23 17:09:41 PST
Note You need to log in before you can comment on or make changes to this bug.