Changeset 220563 in webkit
- Timestamp:
- Aug 10, 2017 4:57:47 PM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r220562 r220563 1 2017-08-10 Dan Bernstein <mitz@apple.com> 2 3 [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE 4 https://bugs.webkit.org/show_bug.cgi?id=173223 5 6 Reviewed by Tim Horton. 7 8 The rebuilds were happening due to a difference in the compiler options that the IDE and 9 xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make 10 xcodebuild pass that option, too, set INDEX_ENABLE_DATA_STORE to YES and 11 INDEX_DATA_STORE_DIR to the Index Datastore path specified in Xcode Locations preferences > 12 Advanced when a Custom Absolute path is selected. 13 14 * Scripts/webkitdirs.pm: 15 (determineBaseProductDir): 16 1 17 2017-08-10 Yusuke Suzuki <utatane.tea@gmail.com> 2 18 -
trunk/Tools/Scripts/webkitdirs.pm
r220335 r220563 231 231 232 232 my $setSharedPrecompsDir; 233 my $indexDataStoreDir; 233 234 $baseProductDir = $ENV{"WEBKIT_OUTPUTDIR"}; 234 235 … … 248 249 my $buildLocationType = join '', readXcodeUserDefault("IDECustomBuildLocationType"); 249 250 # FIXME: Read CustomBuildIntermediatesPath and set OBJROOT accordingly. 250 $baseProductDir = readXcodeUserDefault("IDECustomBuildProductsPath") if $buildLocationType eq "Absolute"; 251 if ($buildLocationType eq "Absolute") { 252 $baseProductDir = readXcodeUserDefault("IDECustomBuildProductsPath"); 253 $indexDataStoreDir = readXcodeUserDefault("IDECustomIndexStorePath"); 254 } 251 255 } 252 256 … … 281 285 @baseProductDirOption = ("SYMROOT=$baseProductDir", "OBJROOT=$baseProductDir"); 282 286 push(@baseProductDirOption, "SHARED_PRECOMPS_DIR=${baseProductDir}/PrecompiledHeaders") if $setSharedPrecompsDir; 287 push(@baseProductDirOption, "INDEX_ENABLE_DATA_STORE=YES", "INDEX_DATA_STORE_DIR=${indexDataStoreDir}") if $indexDataStoreDir; 283 288 } 284 289
Note: See TracChangeset
for help on using the changeset viewer.