⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 100184 in webkit


Ignore:
Timestamp:
Nov 14, 2011, 1:45:52 PM (15 years ago)
Author:
jchaffraix@webkit.org
Message:

[Chromium] build-webkit silently drops the features flags
https://bugs.webkit.org/show_bug.cgi?id=72293

Reviewed by Tony Chang.

Chromium still ignores @features but now we give a warning!

  • Scripts/build-webkit: Check if one of the features is different

from the default and print a warning in this case.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r100174 r100184  
     12011-11-14  Julien Chaffraix  <jchaffraix@webkit.org>
     2
     3        [Chromium] build-webkit silently drops the features flags
     4        https://bugs.webkit.org/show_bug.cgi?id=72293
     5
     6        Reviewed by Tony Chang.
     7
     8        Chromium still ignores @features but now we give a warning!
     9
     10        * Scripts/build-webkit: Check if one of the features is different
     11        from the default and print a warning in this case.
     12
    1132011-11-14  David Kilzer  <ddkilzer@apple.com>
    214
  • trunk/Tools/Scripts/build-webkit

    r100130 r100184  
    595595
    596596if (isChromium()) {
     597    # Currently chromium does not honour the features passed to build-webkit.
     598    # Until this is solved, we issue a warning about that.
     599    foreach (@features) {
     600        if (${$_->{value}} ne $_->{default}) {
     601            print "\n";
     602            print "===========================================================\n";
     603            print " Chromium does not honor the features passed to build-webkit.\n";
     604            print " The preferred way is to set up your overrides in ~/.gyp/include.gypi.\n";
     605            print " See https://trac.webkit.org/wiki/Chromium#Buildingwithfeaturedefines\n";
     606            print " on how to do that.\n";
     607            print "===========================================================\n";
     608            last;
     609        }
     610    }
     611
    597612    @options = @ARGV;
    598613    # Chromium doesn't build by project directories.
Note: See TracChangeset for help on using the changeset viewer.