Changeset 245037 in webkit
- Timestamp:
- May 7, 2019 2:38:27 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r244960 r245037 1 2019-05-07 Keith Rollin <krollin@apple.com> 2 3 Add option to build-webkit to control whether or not XCBuild is used 4 https://bugs.webkit.org/show_bug.cgi?id=197668 5 <rdar://problem/50549728> 6 7 Reviewed by Tim Horton. 8 9 Add --[no-]xcbuild to build-webkit to force the use of XCBuild or not. 10 Also update build-webkit and the makefiles with the foundation for 11 automatically using XCBuild when the conditions allow it. This latter 12 facility is currently turned off until Xcode fully supports building 13 WebKit with XCBuild. 14 15 * Makefile.shared: 16 1 17 2019-05-06 Christopher Reid <chris.reid@sony.com> 2 18 -
trunk/Makefile.shared
r244396 r245037 42 42 ifneq (, $(shell which ccache)) 43 43 XCODE_OPTIONS += WK_USE_CCACHE=YES 44 endif 45 endif 46 47 ifeq ($(findstring UseNewBuildSystem,$(ARGS)),) 48 CAN_USE_XCBUILD = $(shell perl -I$(SCRIPTS_PATH) -Mwebkitdirs -e 'print canUseXCBuild()') 49 ifeq ($(CAN_USE_XCBUILD),1) 50 XCODE_OPTIONS += -UseNewBuildSystem=YES 51 XCODE_OPTIONS += USE_NEW_BUILD_SYSTEM=YES 52 else 53 XCODE_OPTIONS += -UseNewBuildSystem=NO 44 54 endif 45 55 endif -
trunk/Tools/ChangeLog
r245036 r245037 1 2019-05-07 Keith Rollin <krollin@apple.com> 2 3 Add option to build-webkit to control whether or not XCBuild is used 4 https://bugs.webkit.org/show_bug.cgi?id=197668 5 <rdar://problem/50549728> 6 7 Reviewed by Tim Horton. 8 9 Add --[no-]xcbuild to build-webkit to force the use of XCBuild or not. 10 Also update build-webkit and the makefiles with the foundation for 11 automatically using XCBuild when the conditions allow it. This latter 12 facility is currently turned off until Xcode fully supports building 13 WebKit with XCBuild. 14 15 * Scripts/build-webkit: 16 * Scripts/webkitdirs.pm: 17 (XcodeOptions): 18 (canUseXCBuild): 19 1 20 2019-05-07 Andy Estes <aestes@apple.com> 2 21 -
trunk/Tools/Scripts/build-webkit
r244895 r245037 74 74 my $noExperimentalFeatures = 0; 75 75 my $ltoMode = "default"; 76 my $xcbuild = undef; 76 77 my $startTime = time(); 77 78 my $archs32bit = 0; … … 116 117 --analyze Enable static anaylsis (iOS and Mac only) 117 118 --lto-mode=<mode> Set Link Time Optimization mode (full, thin, or none) (LLVM only) 119 --[no-]xcbuild Force the use of XCBuild or not 118 120 119 121 --gtk Build the GTK+ port … … 154 156 'no-experimental-features' => \$noExperimentalFeatures, 155 157 'lto-mode=s' => \$ltoMode, 158 'xcbuild!' => \$xcbuild, 156 159 'skip-library-update' => \$skipLibraryUpdate, 157 160 'use-ccache!' => \$useCCache, … … 208 211 if (isAppleCocoaWebKit()) { 209 212 push @options, XcodeOptions(); 213 214 if (not defined $xcbuild) { 215 $xcbuild = canUseXCBuild(); 216 } 217 218 if ($xcbuild) { 219 push @options, "-UseNewBuildSystem=YES"; 220 push @options, "USE_NEW_BUILD_SYSTEM=YES"; 221 } else { 222 push @options, "-UseNewBuildSystem=NO"; 223 } 224 210 225 sub option($$) 211 226 { -
trunk/Tools/Scripts/webkitdirs.pm
r244895 r245037 850 850 851 851 my @options; 852 push @options, "-UseNewBuildSystem=NO";853 852 push @options, "-UseSanitizedBuildSystemEnvironment=YES"; 854 853 push @options, "-ShowBuildOperationDuration=YES"; … … 894 893 { 895 894 return "RUN_CLANG_STATIC_ANALYZER=YES"; 895 } 896 897 sub canUseXCBuild() 898 { 899 return 0; 896 900 } 897 901
Note: See TracChangeset
for help on using the changeset viewer.