[Webkit-unassigned] [Bug 143371] New: IDL preprocessor ( and possibly other tools ) should have flag to enable/disable use of C preprocessor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 3 06:03:33 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=143371

            Bug ID: 143371
           Summary: IDL preprocessor ( and possibly other tools ) should
                    have flag to enable/disable use of C preprocessor
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: scoul at cisco.com
                CC: achristensen at apple.com

Most scripts processed by perl during build involve the invocation of the C preprocessor ( via gcc etc. ) for each script. As per bug #143370 this can have a major impact on build times. A proposal is made in #143370 to remove the use of C preprocessor directives.

The next step would be to remove the use of the preprocessor.

In an ideal world, all C directives could be removed from all files, and preprocessor.pm be replaced with a simple perl chomp() in all the tools.

As a first step, I propose adding a command option to replace preprocessor with chomp only for certain cases and gradually enable it, starting post but #143370 with the IDL preprocessor.

-- 
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/a1faaae9/attachment.html>


More information about the webkit-unassigned mailing list