see patch
Created attachment 65859 [details] Patch
My only concern is linking to files related to disabled features. I know most files have preprocessor guards, but they'll be compiled and linked anyway. Since there are already tests for these features, I think it would be a good idea to enclose the GENERATE/append to sources list stuff inside these tests. Besides that, the patch looks fine to me.
Created attachment 66004 [details] Patch Added IF(ENABLE_*)
Comment on attachment 66004 [details] Patch Clearing flags on attachment: 66004 Committed r66484: <http://trac.webkit.org/changeset/66484>
All reviewed patches have been landed. Closing bug.
Created attachment 66080 [details] Patch fixed patch
Comment on attachment 66080 [details] Patch Let's hope this works then :-)
reopen for commit queue
Comment on attachment 66080 [details] Patch Clearing flags on attachment: 66080 Committed r66556: <http://trac.webkit.org/changeset/66556>