Changeset 46597 in webkit
- Timestamp:
- Jul 30, 2009 1:57:28 PM (15 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r46585 r46597 1 2009-07-30 Jakob Petsovits <jakob.petsovits@torchmobile.com> 2 3 Reviewed by Adam Roben. 4 5 Add --minimal option to webkit-build. 6 https://bugs.webkit.org/show_bug.cgi?id=27852 7 8 This option disables all optional build features unless 9 they are explicitly enabled. 10 11 * Scripts/build-webkit: 12 1 13 2009-07-30 Jakub Wieczorek <faw217@gmail.com> 2 14 -
trunk/WebKitTools/Scripts/build-webkit
r46159 r46597 43 43 my $showHelp = 0; 44 44 my $clean = 0; 45 my $minimal = 0; 45 46 my $makeArgs; 46 47 … … 141 142 142 143 # Initialize values from defaults 144 foreach (@ARGV) { 145 if ($_ eq '--minimal') { 146 $minimal = 1; 147 last; 148 } 149 } 150 151 # Initialize values from defaults 143 152 foreach (@features) { 144 ${$_->{value}} = $_->{default}|| 0;153 ${$_->{value}} = ($_->{default} && !$minimal) || 0; 145 154 } 146 155 … … 163 172 --makeargs=<arguments> Optional Makefile flags 164 173 174 --minimal No optional features, unless explicitly enabled. 175 165 176 EOF 166 177 … … 169 180 'clean' => \$clean, 170 181 'makeargs=s' => \$makeArgs, 182 'minimal' => \$minimal, 171 183 ); 172 184 … … 174 186 foreach (@features) { 175 187 my $opt = sprintf("%-35s", " --[no-]$_->{option}"); 176 $usage .= "$opt $_->{desc} (default: $ {$_->{value}})\n";177 $options{"$_->{option}!"} = 188 $usage .= "$opt $_->{desc} (default: $_->{default})\n"; 189 $options{"$_->{option}!"} = $_->{value}; 178 190 } 179 191
Note: See TracChangeset
for help on using the changeset viewer.