Changeset 140925 in webkit


Ignore:
Timestamp:
Jan 26, 2013 10:39:38 PM (11 years ago)
Author:
tony@chromium.org
Message:

[chromium] Don't use goma to preprocess bindings idl files
https://bugs.webkit.org/show_bug.cgi?id=107984

Reviewed by Adam Barth.

On Linux and Mac, use a local gcc or clang to preprocess the bindings idl files.
On my machine, this drops the bindings generation from 137s to 24s when
using goma and -j400.

No new tests, this is a build change.

  • WebCore.gyp/WebCore.gyp: Force the use of the local gcc or clang for preprocessing.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r140923 r140925  
     12013-01-26  Tony Chang  <tony@chromium.org>
     2
     3        [chromium] Don't use goma to preprocess bindings idl files
     4        https://bugs.webkit.org/show_bug.cgi?id=107984
     5
     6        Reviewed by Adam Barth.
     7
     8        On Linux and Mac, use a local gcc or clang to preprocess the bindings idl files.
     9        On my machine, this drops the bindings generation from 137s to 24s when
     10        using goma and -j400.
     11
     12        No new tests, this is a build change.
     13
     14        * WebCore.gyp/WebCore.gyp: Force the use of the local gcc or clang for preprocessing.
     15
    1162013-01-26  Sheriff Bot  <webkit.review.bot@gmail.com>
    217
  • trunk/Source/WebCore/WebCore.gyp/WebCore.gyp

    r140910 r140925  
    240240        'gperf_exe': 'gperf',
    241241        'bison_exe': 'bison',
    242         # Without one specified, the scripts default to 'gcc'.
    243         'preprocessor': '',
     242
     243        'conditions': [
     244          # We specify a preprocess so it happens locally and won't get distributed to goma.
     245          ['OS=="mac" or OS=="ios"', {
     246            'preprocessor': '--preprocessor "/usr/bin/clang -E -P -x c++"'
     247          },{
     248            'preprocessor': '--preprocessor "/usr/bin/gcc -E -P -x c++"'
     249          }]
     250        ],
    244251      }],
    245252      ['use_x11==1 or OS=="android"', {
Note: See TracChangeset for help on using the changeset viewer.