Skip to content
  • tony@chromium.org's avatar
    Use native (non-cygwin) binaries for perl, gperf, and bison in Chromium · 42af0705
    tony@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=91667
    
    Patch by Scott Graham <scottmg@chromium.org> on 2012-07-24
    Reviewed by Tony Chang.
    
    Using native tools instead of cygwin version improves build time
    performance by roughly 50% (on top of previous cl-instead-of-gcc
    change).
    
    Also, use - instead of / for cl flags, otherwise preprocessing fails
    very slowly (due to retry loop). And, replace \ with / in gperf
    command line. Without this, gperf emits the filename literally in
    #line directives which causes VS to error with "unescaped \ in
    string". Bizarrely, building ColorData.cpp with those \ in place
    causes the IDE to exit with no error message, which was the cause of
    the previous canary failures.
    
    No new tests.
    
    * WebCore.gyp/WebCore.gyp:
    * WebCore.gyp/scripts/rule_bison.py:
    * bindings/scripts/preprocessor.pm:
    (applyPreprocessor):
    * make-hash-tools.pl:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    42af0705