Bug 37102
| Summary: | DerivedSources.make does not notice when FEATURE_DEFINES change | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | abarth, darin, ddkilzer, mjs, mrowe |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Eric Seidel (no email)
DerivedSources.make does not notice when FEATURE_DEFINES change
This caused:
https://bugs.webkit.org/show_bug.cgi?id=36961#c21
One possible solution would be for DerivedSources.make to write out some sort of FEATURE_DEFINES file in DerivedSources/ during a build, and then if the incoming FEATURE_DEFINES are ever different from that file, simply rebuild everything.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Maciej Stachowiak
Sounds like a good idea to fix this.
Darin Adler
I think this is critical to fix. I personally would fix it by eliminating FEATURE_DEFINES and using a file instead of an environment variable to communicate these settings. The build-webkit tool could generate the header file.
Darin Adler
But I suppose the file would need to be a format that multiple tools could read, so perhaps it's impractical.
Eric Seidel (no email)
I wonder if this old bug is still valid. If it is, I wonder if landing bug 85456 will give us an easy way to fix it. :)