[webkit-dev] IDL generation: [Conditional=XXX] vs. #if defined(ENABLE_XXX)

Alexey Proskuryakov ap at webkit.org
Sun Jul 3 08:33:20 PDT 2011


03.07.2011, в 02:12, Patrick Gansterer написал(а):

> I see three possible solutions:
> 1) Always generate all IDL files.
> 2) Change all [Conditional=XXX] to #if define(ENABLE_XXX).
> 3) Add the correct #if ENABLE(XXX) around the header includes.


(1) used to be the preferred solution. It's so much nicer to not have tons of #if checks at the top of cpp files.

- WBR, Alexey Proskuryakov



More information about the webkit-dev mailing list