Title: [218056] trunk
Revision
218056
Author
[email protected]
Date
2017-06-10 13:32:57 -0700 (Sat, 10 Jun 2017)

Log Message

[Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
https://bugs.webkit.org/show_bug.cgi?id=173223

Reviewed by Sam Weinig.

The rebuilds were happening due to a difference in the compiler options that the IDE and
xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
specify an appropriate path in CLANG_INDEX_STORE_PATH.

PerformanceTests:

* MediaTime/Configurations/DebugRelease.xcconfig:

Source/bmalloc:

* Configurations/DebugRelease.xcconfig:

Source/_javascript_Core:

* Configurations/DebugRelease.xcconfig:

Source/ThirdParty/ANGLE:

* Configurations/DebugRelease.xcconfig:

Source/ThirdParty/libwebrtc:

* Configurations/DebugRelease.xcconfig:

Source/WebCore:

* Configurations/DebugRelease.xcconfig:

Source/WebCore/PAL:

* Configurations/DebugRelease.xcconfig:

Source/WebInspectorUI:

* Configurations/DebugRelease.xcconfig:

Source/WebKit/mac:

* Configurations/DebugRelease.xcconfig:

Source/WebKit2:

* Configurations/DebugRelease.xcconfig:

Source/WTF:

* Configurations/DebugRelease.xcconfig:

Tools:

* ContentExtensionTester/Configurations/DebugRelease.xcconfig:
* DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
* ImageDiff/cg/Configurations/DebugRelease.xcconfig:
* MiniBrowser/Configurations/DebugRelease.xcconfig:
* MobileMiniBrowser/Configurations/DebugRelease.xcconfig:
* TestWebKitAPI/Configurations/DebugRelease.xcconfig:
* WebEditingTester/Configurations/DebugRelease.xcconfig:
* WebKitTestRunner/Configurations/DebugRelease.xcconfig:

Modified Paths

Diff

Modified: trunk/PerformanceTests/ChangeLog (218055 => 218056)


--- trunk/PerformanceTests/ChangeLog	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/PerformanceTests/ChangeLog	2017-06-10 20:32:57 UTC (rev 218056)
@@ -1,3 +1,17 @@
+2017-06-10  Dan Bernstein  <[email protected]>
+
+        [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
+        https://bugs.webkit.org/show_bug.cgi?id=173223
+
+        Reviewed by Sam Weinig.
+
+        The rebuilds were happening due to a difference in the compiler options that the IDE and
+        xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
+        xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
+        specify an appropriate path in CLANG_INDEX_STORE_PATH.
+
+        * MediaTime/Configurations/DebugRelease.xcconfig:
+
 2017-06-07  Saam Barati  <[email protected]>
 
         ARES-6 incorrectly measures Worst 4 Iterations

Modified: trunk/PerformanceTests/MediaTime/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/PerformanceTests/MediaTime/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/PerformanceTests/MediaTime/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -40,3 +40,8 @@
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Source/_javascript_Core/ChangeLog (218055 => 218056)


--- trunk/Source/_javascript_Core/ChangeLog	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/_javascript_Core/ChangeLog	2017-06-10 20:32:57 UTC (rev 218056)
@@ -1,3 +1,17 @@
+2017-06-10  Dan Bernstein  <[email protected]>
+
+        [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
+        https://bugs.webkit.org/show_bug.cgi?id=173223
+
+        Reviewed by Sam Weinig.
+
+        The rebuilds were happening due to a difference in the compiler options that the IDE and
+        xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
+        xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
+        specify an appropriate path in CLANG_INDEX_STORE_PATH.
+
+        * Configurations/DebugRelease.xcconfig:
+
 2017-06-10  Yusuke Suzuki  <[email protected]>
 
         [JSC] Update RegExp.prototype.[@@search]] implementation according to the latest spec

Modified: trunk/Source/_javascript_Core/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Source/_javascript_Core/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/_javascript_Core/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -42,3 +42,8 @@
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (218055 => 218056)


--- trunk/Source/ThirdParty/ANGLE/ChangeLog	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog	2017-06-10 20:32:57 UTC (rev 218056)
@@ -1,3 +1,17 @@
+2017-06-10  Dan Bernstein  <[email protected]>
+
+        [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
+        https://bugs.webkit.org/show_bug.cgi?id=173223
+
+        Reviewed by Sam Weinig.
+
+        The rebuilds were happening due to a difference in the compiler options that the IDE and
+        xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
+        xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
+        specify an appropriate path in CLANG_INDEX_STORE_PATH.
+
+        * Configurations/DebugRelease.xcconfig:
+
 2017-05-28  Dan Bernstein  <[email protected]>
 
         [Xcode] ALWAYS_SEARCH_USER_PATHS is set to YES

Modified: trunk/Source/ThirdParty/ANGLE/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Source/ThirdParty/ANGLE/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/ThirdParty/ANGLE/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -19,3 +19,8 @@
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Source/ThirdParty/libwebrtc/ChangeLog (218055 => 218056)


--- trunk/Source/ThirdParty/libwebrtc/ChangeLog	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/ThirdParty/libwebrtc/ChangeLog	2017-06-10 20:32:57 UTC (rev 218056)
@@ -1,3 +1,17 @@
+2017-06-10  Dan Bernstein  <[email protected]>
+
+        [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
+        https://bugs.webkit.org/show_bug.cgi?id=173223
+
+        Reviewed by Sam Weinig.
+
+        The rebuilds were happening due to a difference in the compiler options that the IDE and
+        xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
+        xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
+        specify an appropriate path in CLANG_INDEX_STORE_PATH.
+
+        * Configurations/DebugRelease.xcconfig:
+
 2017-06-07  Youenn Fablet  <[email protected]>
 
         Add WebRTC stats logging

Modified: trunk/Source/ThirdParty/libwebrtc/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Source/ThirdParty/libwebrtc/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/ThirdParty/libwebrtc/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -21,3 +21,8 @@
 SDKROOT_YES = macosx.internal;
 
 WK_RELOCATABLE_FRAMEWORKS = YES;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Source/WTF/ChangeLog (218055 => 218056)


--- trunk/Source/WTF/ChangeLog	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/WTF/ChangeLog	2017-06-10 20:32:57 UTC (rev 218056)
@@ -1,3 +1,17 @@
+2017-06-10  Dan Bernstein  <[email protected]>
+
+        [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
+        https://bugs.webkit.org/show_bug.cgi?id=173223
+
+        Reviewed by Sam Weinig.
+
+        The rebuilds were happening due to a difference in the compiler options that the IDE and
+        xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
+        xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
+        specify an appropriate path in CLANG_INDEX_STORE_PATH.
+
+        * Configurations/DebugRelease.xcconfig:
+
 2017-06-09  Chris Dumez  <[email protected]>
 
         Update Thread::create() to take in a WTF::Function instead of a std::function

Modified: trunk/Source/WTF/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Source/WTF/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/WTF/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -41,3 +41,8 @@
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Source/WebCore/ChangeLog (218055 => 218056)


--- trunk/Source/WebCore/ChangeLog	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/WebCore/ChangeLog	2017-06-10 20:32:57 UTC (rev 218056)
@@ -1,5 +1,19 @@
 2017-06-10  Dan Bernstein  <[email protected]>
 
+        [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
+        https://bugs.webkit.org/show_bug.cgi?id=173223
+
+        Reviewed by Sam Weinig.
+
+        The rebuilds were happening due to a difference in the compiler options that the IDE and
+        xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
+        xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
+        specify an appropriate path in CLANG_INDEX_STORE_PATH.
+
+        * Configurations/DebugRelease.xcconfig:
+
+2017-06-10  Dan Bernstein  <[email protected]>
+
         [macOS] REGRESSION: Link drag images blend into the background in Sierra and earlier
         https://bugs.webkit.org/show_bug.cgi?id=172933
         <rdar://problem/32580649>

Modified: trunk/Source/WebCore/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Source/WebCore/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/WebCore/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -44,3 +44,8 @@
 SDKROOT_YES = macosx.internal;
 
 WK_RELOCATABLE_FRAMEWORKS = YES;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Source/WebCore/PAL/ChangeLog (218055 => 218056)


--- trunk/Source/WebCore/PAL/ChangeLog	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/WebCore/PAL/ChangeLog	2017-06-10 20:32:57 UTC (rev 218056)
@@ -1,3 +1,17 @@
+2017-06-10  Dan Bernstein  <[email protected]>
+
+        [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
+        https://bugs.webkit.org/show_bug.cgi?id=173223
+
+        Reviewed by Sam Weinig.
+
+        The rebuilds were happening due to a difference in the compiler options that the IDE and
+        xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
+        xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
+        specify an appropriate path in CLANG_INDEX_STORE_PATH.
+
+        * Configurations/DebugRelease.xcconfig:
+
 2017-06-01  Andy Estes  <[email protected]>
 
         REGRESSION (r217626): ENABLE_APPLE_PAY_SESSION_V3 was disabled by mistake

Modified: trunk/Source/WebCore/PAL/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Source/WebCore/PAL/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/WebCore/PAL/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -42,3 +42,8 @@
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Source/WebInspectorUI/ChangeLog (218055 => 218056)


--- trunk/Source/WebInspectorUI/ChangeLog	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/WebInspectorUI/ChangeLog	2017-06-10 20:32:57 UTC (rev 218056)
@@ -1,3 +1,17 @@
+2017-06-10  Dan Bernstein  <[email protected]>
+
+        [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
+        https://bugs.webkit.org/show_bug.cgi?id=173223
+
+        Reviewed by Sam Weinig.
+
+        The rebuilds were happening due to a difference in the compiler options that the IDE and
+        xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
+        xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
+        specify an appropriate path in CLANG_INDEX_STORE_PATH.
+
+        * Configurations/DebugRelease.xcconfig:
+
 2017-06-10  Devin Rousso  <[email protected]>
 
         Web Inspector: REGRESSION(r217749): Event listeners are removed even if they haven't been added

Modified: trunk/Source/WebInspectorUI/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Source/WebInspectorUI/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/WebInspectorUI/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -24,3 +24,8 @@
 
 COMBINE_INSPECTOR_RESOURCES = NO;
 COMBINE_TEST_RESOURCES = YES;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Source/WebKit/mac/ChangeLog (218055 => 218056)


--- trunk/Source/WebKit/mac/ChangeLog	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/WebKit/mac/ChangeLog	2017-06-10 20:32:57 UTC (rev 218056)
@@ -1,3 +1,17 @@
+2017-06-10  Dan Bernstein  <[email protected]>
+
+        [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
+        https://bugs.webkit.org/show_bug.cgi?id=173223
+
+        Reviewed by Sam Weinig.
+
+        The rebuilds were happening due to a difference in the compiler options that the IDE and
+        xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
+        xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
+        specify an appropriate path in CLANG_INDEX_STORE_PATH.
+
+        * Configurations/DebugRelease.xcconfig:
+
 2017-06-09  Wenson Hsieh  <[email protected]>
 
         [iOS DnD] Add a hook to perform two-step drops in editable content

Modified: trunk/Source/WebKit/mac/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Source/WebKit/mac/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/WebKit/mac/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -51,3 +51,8 @@
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Source/WebKit2/ChangeLog (218055 => 218056)


--- trunk/Source/WebKit2/ChangeLog	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/WebKit2/ChangeLog	2017-06-10 20:32:57 UTC (rev 218056)
@@ -1,3 +1,17 @@
+2017-06-10  Dan Bernstein  <[email protected]>
+
+        [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
+        https://bugs.webkit.org/show_bug.cgi?id=173223
+
+        Reviewed by Sam Weinig.
+
+        The rebuilds were happening due to a difference in the compiler options that the IDE and
+        xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
+        xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
+        specify an appropriate path in CLANG_INDEX_STORE_PATH.
+
+        * Configurations/DebugRelease.xcconfig:
+
 2017-06-09  Ryosuke Niwa  <[email protected]>
 
         Crash inside WebKit::PluginView::getAuthenticationInfo

Modified: trunk/Source/WebKit2/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Source/WebKit2/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/WebKit2/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -58,3 +58,8 @@
 
 WK_WEBCONTENT_SERVICE_NEEDS_XPC_DOMAIN_EXTENSION_ENTITLEMENT = NO;
 WK_WEBCONTENT_SERVICE_NEEDS_VERSIONED_FRAMEWORK_PATH_LDFLAG[sdk=macosx*] = YES;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Source/bmalloc/ChangeLog (218055 => 218056)


--- trunk/Source/bmalloc/ChangeLog	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/bmalloc/ChangeLog	2017-06-10 20:32:57 UTC (rev 218056)
@@ -1,3 +1,17 @@
+2017-06-10  Dan Bernstein  <[email protected]>
+
+        [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
+        https://bugs.webkit.org/show_bug.cgi?id=173223
+
+        Reviewed by Sam Weinig.
+
+        The rebuilds were happening due to a difference in the compiler options that the IDE and
+        xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
+        xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
+        specify an appropriate path in CLANG_INDEX_STORE_PATH.
+
+        * Configurations/DebugRelease.xcconfig:
+
 2017-06-07  Geoffrey Garen  <[email protected]>
 
         bmalloc: memory APIs don't need to be heap members

Modified: trunk/Source/bmalloc/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Source/bmalloc/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Source/bmalloc/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -41,3 +41,8 @@
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Tools/ChangeLog (218055 => 218056)


--- trunk/Tools/ChangeLog	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Tools/ChangeLog	2017-06-10 20:32:57 UTC (rev 218056)
@@ -1,3 +1,24 @@
+2017-06-10  Dan Bernstein  <[email protected]>
+
+        [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
+        https://bugs.webkit.org/show_bug.cgi?id=173223
+
+        Reviewed by Sam Weinig.
+
+        The rebuilds were happening due to a difference in the compiler options that the IDE and
+        xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
+        xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
+        specify an appropriate path in CLANG_INDEX_STORE_PATH.
+
+        * ContentExtensionTester/Configurations/DebugRelease.xcconfig:
+        * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
+        * ImageDiff/cg/Configurations/DebugRelease.xcconfig:
+        * MiniBrowser/Configurations/DebugRelease.xcconfig:
+        * MobileMiniBrowser/Configurations/DebugRelease.xcconfig:
+        * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
+        * WebEditingTester/Configurations/DebugRelease.xcconfig:
+        * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
+
 2017-06-10  Jonathan Bedard  <[email protected]>
 
         webkitpy: Reduce polling in ServerProcess

Modified: trunk/Tools/ContentExtensionTester/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Tools/ContentExtensionTester/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Tools/ContentExtensionTester/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -39,3 +39,8 @@
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Tools/DumpRenderTree/mac/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Tools/DumpRenderTree/mac/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Tools/DumpRenderTree/mac/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -48,3 +48,8 @@
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Tools/ImageDiff/cg/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Tools/ImageDiff/cg/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Tools/ImageDiff/cg/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -39,3 +39,8 @@
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Tools/MiniBrowser/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Tools/MiniBrowser/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Tools/MiniBrowser/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -41,3 +41,8 @@
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Tools/MobileMiniBrowser/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Tools/MobileMiniBrowser/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Tools/MobileMiniBrowser/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -28,3 +28,8 @@
 _ONLY_ACTIVE_ARCH_ = YES;
 
 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Tools/TestWebKitAPI/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Tools/TestWebKitAPI/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Tools/TestWebKitAPI/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -43,3 +43,8 @@
 SDKROOT_YES = macosx.internal;
 
 OTHER_CPLUSPLUSFLAGS = $(inherited) -ftemplate-depth=256;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Tools/WebEditingTester/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Tools/WebEditingTester/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Tools/WebEditingTester/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -40,3 +40,8 @@
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;

Modified: trunk/Tools/WebKitTestRunner/Configurations/DebugRelease.xcconfig (218055 => 218056)


--- trunk/Tools/WebKitTestRunner/Configurations/DebugRelease.xcconfig	2017-06-10 19:51:13 UTC (rev 218055)
+++ trunk/Tools/WebKitTestRunner/Configurations/DebugRelease.xcconfig	2017-06-10 20:32:57 UTC (rev 218056)
@@ -48,3 +48,8 @@
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
+
+CLANG_INDEX_STORE_ENABLE = $(CLANG_INDEX_STORE_ENABLE_$(CLANG_INDEX_STORE_ENABLE));
+CLANG_INDEX_STORE_ENABLE_ = YES;
+CLANG_INDEX_STORE_ENABLE_YES = YES;
+CLANG_INDEX_STORE_PATH = $(PROJECT_TEMP_DIR)/Index;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to