On Oct 20, 2020, at 4:08 PM, Sam Weinig <weinig@apple.com> wrote:
For the ones conditionalizing adding to ADDITIONAL_BINDING_IDLS, those IDLs should just have the appropriate Conditional=* extended attribute added, then they can be included unconditionally in the makefile.
For the ones conditionalizing adding go USER_AGENT_STYLE_SHEETS, again, there doesn’t seem a real reason to keep that. The sheets are all preprocessed anyway, so we can just move those #ifdefs into the files.
I filed https://bugs.webkit.org/show_bug.cgi?id=218001 <https://bugs.webkit.org/show_bug.cgi?id=218001> for this and will get that done regardless.
Some of these also make it possible to build without WebKitAdditions. We may need some different approach to that. — Darin