Bug 143370

Summary: IDL files should not depend on C preprocessor
Product: WebKit Reporter: Steve 'Harry' Coul <scoul>
Component: BindingsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Enhancement CC: achristensen, ap, ossy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Steve 'Harry' Coul 2015-04-03 05:56:45 PDT
IDL has the [Conditional] syntax as well as use of c-preprocessor #ifdef etc.

This means two methods of achieving the same result, which is never tidy, and also that the perl IDL processor needs to invoke gcc or equivalent for every file. The number of IDL files has drastically increased over the last couple of years.

Some preliminary testing on saving the preprocessed IDL and removing the gcc invocation from preprocessor.pm show a clean-build time reduction of 10 to 25% depending on ccache and host configuration.

Such simplification would also simplify any experiments in replacing the processing tools, say from perl to native code on host.