Summary: | Enable waf to be used to build other ports | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kevin Ollivier <kevino> | ||||
Component: | WebKit Misc. | Assignee: | Kevin Ollivier <kevino> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Kevin Ollivier
2011-04-10 21:32:49 PDT
Created attachment 90889 [details]
Patch
The patch above does two main things: 1) Moves Tools/wx/build to Tools/waf/build and puts waf in Tools/waf instead of Tools/wx. (90% of the patch, and the reason it's so large.) 2) Turns build_port define into a runtime option, so that you can pass --port="wx" or any other to waf. To make this work, some port-specific logic that was calculated at load time needed to be moved into the configure and build methods. I've tested that the wx port, which is the only port currently using this, builds correctly everywhere we support. Comment on attachment 90889 [details]
Patch
rs=me.
|