[Webkit-unassigned] [Bug 143370] New: IDL files should not depend on C preprocessor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 3 05:56:45 PDT 2015


            Bug ID: 143370
           Summary: IDL files should not depend on C preprocessor
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: Bindings
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: scoul at cisco.com
                CC: achristensen at apple.com

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.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150403/1cff24b0/attachment.html>

More information about the webkit-unassigned mailing list