Title: [292626] trunk
Revision
292626
Author
[email protected]
Date
2022-04-08 11:29:35 -0700 (Fri, 08 Apr 2022)

Log Message

Unreviewed, reverting r292591.

Causing spurious EWS errors

Reverted changeset:

"[XCBuild] Enable dependency validation by default"
https://bugs.webkit.org/show_bug.cgi?id=238901
https://commits.webkit.org/r292591

Modified Paths

Diff

Modified: trunk/ChangeLog (292625 => 292626)


--- trunk/ChangeLog	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/ChangeLog	2022-04-08 18:29:35 UTC (rev 292626)
@@ -1,3 +1,15 @@
+2022-04-08  Elliott Williams  <[email protected]>
+
+        Unreviewed, reverting r292591.
+
+        Causing spurious EWS errors
+
+        Reverted changeset:
+
+        "[XCBuild] Enable dependency validation by default"
+        https://bugs.webkit.org/show_bug.cgi?id=238901
+        https://commits.webkit.org/r292591
+
 2022-04-07  Elliott Williams  <[email protected]>
 
         [XCBuild] Enable dependency validation by default

Modified: trunk/Makefile.shared (292625 => 292626)


--- trunk/Makefile.shared	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Makefile.shared	2022-04-08 18:29:35 UTC (rev 292626)
@@ -97,6 +97,11 @@
 CONFIG_OPTIONS += --lto-mode=none
 endif
 
+ifeq (YES,$(findstring YES,$(VALIDATE_DEPENDENCIES)))
+CONFIG_OPTIONS += --validate-dependencies
+XCODE_OPTIONS += -EnableBuildDebugging=1 VALIDATE_DEPENDENCIES=$(VALIDATE_DEPENDENCIES)
+endif
+
 export DSYMUTIL_NUM_THREADS = $(shell sysctl -n hw.activecpu)
 
 # Run xcodebuild with the same PATH with which the Xcode IDE runs, to mitigate unnecessary rebuilds due to PATH differences.
@@ -119,7 +124,9 @@
 endef
 
 all:
+ifneq (,$(CONFIG_OPTIONS))
 	@$(call set_webkit_configuration,)
+endif
 	@$(call invoke_xcode,,,GCC_PREPROCESSOR_DEFINITIONS='$(GCC_PREPROCESSOR_ADDITIONS) $$(inherited)')
 
 debug d: force

Modified: trunk/Source/_javascript_Core/ChangeLog (292625 => 292626)


--- trunk/Source/_javascript_Core/ChangeLog	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/_javascript_Core/ChangeLog	2022-04-08 18:29:35 UTC (rev 292626)
@@ -1,3 +1,15 @@
+2022-04-08  Elliott Williams  <[email protected]>
+
+        Unreviewed, reverting r292591.
+
+        Causing spurious EWS errors
+
+        Reverted changeset:
+
+        "[XCBuild] Enable dependency validation by default"
+        https://bugs.webkit.org/show_bug.cgi?id=238901
+        https://commits.webkit.org/r292591
+
 2022-04-08  Chris Dumez  <[email protected]>
 
         Reduce number of StringView to String conversions in JSC

Modified: trunk/Source/_javascript_Core/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Source/_javascript_Core/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/_javascript_Core/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -40,8 +40,6 @@
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_RELOCATABLE_FRAMEWORKS = YES;
 
 WK_DEFAULT_LTO_MODE = $(WK_USER_LTO_MODE_none);

Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (292625 => 292626)


--- trunk/Source/ThirdParty/ANGLE/ChangeLog	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog	2022-04-08 18:29:35 UTC (rev 292626)
@@ -1,3 +1,15 @@
+2022-04-08  Elliott Williams  <[email protected]>
+
+        Unreviewed, reverting r292591.
+
+        Causing spurious EWS errors
+
+        Reverted changeset:
+
+        "[XCBuild] Enable dependency validation by default"
+        https://bugs.webkit.org/show_bug.cgi?id=238901
+        https://commits.webkit.org/r292591
+
 2022-04-07  Elliott Williams  <[email protected]>
 
         [XCBuild] Enable dependency validation by default

Modified: trunk/Source/ThirdParty/ANGLE/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Source/ThirdParty/ANGLE/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/ThirdParty/ANGLE/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -12,8 +12,6 @@
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_RELOCATABLE_FRAMEWORKS = YES;
 
 WK_DEFAULT_LTO_MODE = $(WK_USER_LTO_MODE_none);

Modified: trunk/Source/ThirdParty/libwebrtc/ChangeLog (292625 => 292626)


--- trunk/Source/ThirdParty/libwebrtc/ChangeLog	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/ThirdParty/libwebrtc/ChangeLog	2022-04-08 18:29:35 UTC (rev 292626)
@@ -1,3 +1,15 @@
+2022-04-08  Elliott Williams  <[email protected]>
+
+        Unreviewed, reverting r292591.
+
+        Causing spurious EWS errors
+
+        Reverted changeset:
+
+        "[XCBuild] Enable dependency validation by default"
+        https://bugs.webkit.org/show_bug.cgi?id=238901
+        https://commits.webkit.org/r292591
+
 2022-04-07  Elliott Williams  <[email protected]>
 
         [XCBuild] Enable dependency validation by default

Modified: trunk/Source/ThirdParty/libwebrtc/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Source/ThirdParty/libwebrtc/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/ThirdParty/libwebrtc/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -36,8 +36,6 @@
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_RELOCATABLE_FRAMEWORKS = YES;
 
 WK_DEFAULT_LTO_MODE = $(WK_USER_LTO_MODE_none);

Modified: trunk/Source/WTF/ChangeLog (292625 => 292626)


--- trunk/Source/WTF/ChangeLog	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/WTF/ChangeLog	2022-04-08 18:29:35 UTC (rev 292626)
@@ -1,3 +1,15 @@
+2022-04-08  Elliott Williams  <[email protected]>
+
+        Unreviewed, reverting r292591.
+
+        Causing spurious EWS errors
+
+        Reverted changeset:
+
+        "[XCBuild] Enable dependency validation by default"
+        https://bugs.webkit.org/show_bug.cgi?id=238901
+        https://commits.webkit.org/r292591
+
 2022-04-08  Chris Dumez  <[email protected]>
 
         Reduce number of StringView to String conversions in JSC

Modified: trunk/Source/WTF/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Source/WTF/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/WTF/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -34,8 +34,6 @@
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_DEFAULT_LTO_MODE = $(WK_USER_LTO_MODE_none);
 
 WK_CCACHE_DIR = $(SRCROOT)/../../Tools/ccache;

Modified: trunk/Source/WebCore/ChangeLog (292625 => 292626)


--- trunk/Source/WebCore/ChangeLog	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/WebCore/ChangeLog	2022-04-08 18:29:35 UTC (rev 292626)
@@ -1,3 +1,15 @@
+2022-04-08  Elliott Williams  <[email protected]>
+
+        Unreviewed, reverting r292591.
+
+        Causing spurious EWS errors
+
+        Reverted changeset:
+
+        "[XCBuild] Enable dependency validation by default"
+        https://bugs.webkit.org/show_bug.cgi?id=238901
+        https://commits.webkit.org/r292591
+
 2022-04-08  Alan Bujtas  <[email protected]>
 
         Do not use std::numeric_limits<float>::min() as the initial value to collect max values for glyph overflow

Modified: trunk/Source/WebCore/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Source/WebCore/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/WebCore/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -35,8 +35,6 @@
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_RELOCATABLE_FRAMEWORKS = YES;
 
 WK_DEFAULT_LTO_MODE = $(WK_USER_LTO_MODE_none);

Modified: trunk/Source/WebCore/PAL/ChangeLog (292625 => 292626)


--- trunk/Source/WebCore/PAL/ChangeLog	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/WebCore/PAL/ChangeLog	2022-04-08 18:29:35 UTC (rev 292626)
@@ -1,3 +1,15 @@
+2022-04-08  Elliott Williams  <[email protected]>
+
+        Unreviewed, reverting r292591.
+
+        Causing spurious EWS errors
+
+        Reverted changeset:
+
+        "[XCBuild] Enable dependency validation by default"
+        https://bugs.webkit.org/show_bug.cgi?id=238901
+        https://commits.webkit.org/r292591
+
 2022-04-07  Elliott Williams  <[email protected]>
 
         [XCBuild] Enable dependency validation by default

Modified: trunk/Source/WebCore/PAL/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Source/WebCore/PAL/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/WebCore/PAL/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -35,8 +35,6 @@
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_RELOCATABLE_FRAMEWORKS = YES;
 
 WK_DEFAULT_LTO_MODE = $(WK_USER_LTO_MODE_none);

Modified: trunk/Source/WebGPU/ChangeLog (292625 => 292626)


--- trunk/Source/WebGPU/ChangeLog	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/WebGPU/ChangeLog	2022-04-08 18:29:35 UTC (rev 292626)
@@ -1,3 +1,15 @@
+2022-04-08  Elliott Williams  <[email protected]>
+
+        Unreviewed, reverting r292591.
+
+        Causing spurious EWS errors
+
+        Reverted changeset:
+
+        "[XCBuild] Enable dependency validation by default"
+        https://bugs.webkit.org/show_bug.cgi?id=238901
+        https://commits.webkit.org/r292591
+
 2022-04-07  Elliott Williams  <[email protected]>
 
         [XCBuild] Enable dependency validation by default

Modified: trunk/Source/WebGPU/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Source/WebGPU/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/WebGPU/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -35,8 +35,6 @@
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_RELOCATABLE_FRAMEWORKS = YES;
 
 WK_DEFAULT_LTO_MODE = $(WK_USER_LTO_MODE_none);

Modified: trunk/Source/WebInspectorUI/ChangeLog (292625 => 292626)


--- trunk/Source/WebInspectorUI/ChangeLog	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/WebInspectorUI/ChangeLog	2022-04-08 18:29:35 UTC (rev 292626)
@@ -1,3 +1,15 @@
+2022-04-08  Elliott Williams  <[email protected]>
+
+        Unreviewed, reverting r292591.
+
+        Causing spurious EWS errors
+
+        Reverted changeset:
+
+        "[XCBuild] Enable dependency validation by default"
+        https://bugs.webkit.org/show_bug.cgi?id=238901
+        https://commits.webkit.org/r292591
+
 2022-04-08  Carlos Garcia Campos  <[email protected]>
 
         Web Inspector: Use computedStyleMap() instead of deprecated getPropertyCSSValue()

Modified: trunk/Source/WebInspectorUI/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Source/WebInspectorUI/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/WebInspectorUI/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -12,8 +12,6 @@
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 COMBINE_INSPECTOR_RESOURCES = NO;
 COMBINE_TEST_RESOURCES = YES;
 

Modified: trunk/Source/WebKit/ChangeLog (292625 => 292626)


--- trunk/Source/WebKit/ChangeLog	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/WebKit/ChangeLog	2022-04-08 18:29:35 UTC (rev 292626)
@@ -1,3 +1,15 @@
+2022-04-08  Elliott Williams  <[email protected]>
+
+        Unreviewed, reverting r292591.
+
+        Causing spurious EWS errors
+
+        Reverted changeset:
+
+        "[XCBuild] Enable dependency validation by default"
+        https://bugs.webkit.org/show_bug.cgi?id=238901
+        https://commits.webkit.org/r292591
+
 2022-04-08  Gavin Phillips  <[email protected]>
 
         Remove misc unused CoreIPC messages/handlers that have no instances of messages being dispatched to them

Modified: trunk/Source/WebKit/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Source/WebKit/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/WebKit/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -40,8 +40,6 @@
 CODE_SIGN_IDENTITY_NO = -;
 CODE_SIGN_IDENTITY_YES = $(WK_ENGINEERING_CODE_SIGN_IDENTITY);
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_RELOCATABLE_FRAMEWORKS = YES;
 WK_XPC_SERVICE_SUFFIX[sdk=macosx*] = .Development;
 WK_XPC_SERVICE_SUFFIX[sdk=*simulator*] = .Development;

Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (292625 => 292626)


--- trunk/Source/WebKitLegacy/mac/ChangeLog	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog	2022-04-08 18:29:35 UTC (rev 292626)
@@ -1,3 +1,15 @@
+2022-04-08  Elliott Williams  <[email protected]>
+
+        Unreviewed, reverting r292591.
+
+        Causing spurious EWS errors
+
+        Reverted changeset:
+
+        "[XCBuild] Enable dependency validation by default"
+        https://bugs.webkit.org/show_bug.cgi?id=238901
+        https://commits.webkit.org/r292591
+
 2022-04-07  Elliott Williams  <[email protected]>
 
         [XCBuild] Enable dependency validation by default

Modified: trunk/Source/WebKitLegacy/mac/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Source/WebKitLegacy/mac/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/WebKitLegacy/mac/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -35,8 +35,6 @@
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_BUILD_FOR_TESTING = YES;
 
 WK_RELOCATABLE_FRAMEWORKS = YES;

Modified: trunk/Source/bmalloc/ChangeLog (292625 => 292626)


--- trunk/Source/bmalloc/ChangeLog	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/bmalloc/ChangeLog	2022-04-08 18:29:35 UTC (rev 292626)
@@ -1,3 +1,15 @@
+2022-04-08  Elliott Williams  <[email protected]>
+
+        Unreviewed, reverting r292591.
+
+        Causing spurious EWS errors
+
+        Reverted changeset:
+
+        "[XCBuild] Enable dependency validation by default"
+        https://bugs.webkit.org/show_bug.cgi?id=238901
+        https://commits.webkit.org/r292591
+
 2022-04-07  Elliott Williams  <[email protected]>
 
         [XCBuild] Enable dependency validation by default

Modified: trunk/Source/bmalloc/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Source/bmalloc/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Source/bmalloc/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -34,8 +34,6 @@
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_DEFAULT_LTO_MODE = $(WK_USER_LTO_MODE_none);
 
 WK_CCACHE_DIR = $(SRCROOT)/../../Tools/ccache;

Modified: trunk/Tools/ChangeLog (292625 => 292626)


--- trunk/Tools/ChangeLog	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Tools/ChangeLog	2022-04-08 18:29:35 UTC (rev 292626)
@@ -1,3 +1,15 @@
+2022-04-08  Elliott Williams  <[email protected]>
+
+        Unreviewed, reverting r292591.
+
+        Causing spurious EWS errors
+
+        Reverted changeset:
+
+        "[XCBuild] Enable dependency validation by default"
+        https://bugs.webkit.org/show_bug.cgi?id=238901
+        https://commits.webkit.org/r292591
+
 2022-04-08  Jonathan Bedard  <[email protected]>
 
         [Merge-Queue] Add queue triggered by label addition (Follow-up fix)

Modified: trunk/Tools/DumpRenderTree/mac/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Tools/DumpRenderTree/mac/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Tools/DumpRenderTree/mac/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -37,7 +37,5 @@
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_CCACHE_DIR = $(SRCROOT)/../ccache;
 #include "../../../ccache/ccache.xcconfig"

Modified: trunk/Tools/ImageDiff/cg/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Tools/ImageDiff/cg/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Tools/ImageDiff/cg/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -30,5 +30,3 @@
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
-
-VALIDATE_DEPENDENCIES = YES_ERROR;

Modified: trunk/Tools/MiniBrowser/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Tools/MiniBrowser/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Tools/MiniBrowser/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -34,7 +34,5 @@
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_CCACHE_DIR = $(SRCROOT)/../ccache;
 #include? "../../ccache/ccache.xcconfig"

Modified: trunk/Tools/MobileMiniBrowser/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Tools/MobileMiniBrowser/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Tools/MobileMiniBrowser/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -30,7 +30,5 @@
 
 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_CCACHE_DIR = $(SRCROOT)/../ccache;
 #include "../../ccache/ccache.xcconfig"

Modified: trunk/Tools/Scripts/build-webkit (292625 => 292626)


--- trunk/Tools/Scripts/build-webkit	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Tools/Scripts/build-webkit	2022-04-08 18:29:35 UTC (rev 292626)
@@ -354,8 +354,6 @@
     push @local_options, XcodeCoverageSupportOptions() if $coverageSupport;
     push @local_options, XcodeStaticAnalyzerOption() if $shouldRunStaticAnalyzer;
     push @local_options, "WK_LTO_MODE=$ltoMode" if ($ltoMode ne "default");
- 
-    markBaseProductDirectoryAsCreatedByXcodeBuildSystem();
 
     # Build, and abort if the build fails.
     if ($useWorkspace) {

Modified: trunk/Tools/Scripts/set-webkit-configuration (292625 => 292626)


--- trunk/Tools/Scripts/set-webkit-configuration	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Tools/Scripts/set-webkit-configuration	2022-04-08 18:29:35 UTC (rev 292626)
@@ -28,7 +28,6 @@
 
 use strict;
 use warnings;
-use File::Path qw(make_path);
 use File::Spec;
 use FindBin;
 use lib $FindBin::Bin;
@@ -47,8 +46,8 @@
   --lto-mode=<mode>                  Set LTO mode: full, thin, or none
   --debug                            Set the default configuration to debug
   --release                          Set the default configuration to release
+  --validate-dependencies            Configure the build directory for Xcode dependency validation
   --reset                            Reset configurations
-  -h, --help                         Show this message and exit
 EOF
 
 sub printCurrentSettings();
@@ -65,6 +64,7 @@
 my $disableUBSAN = checkForArgumentAndRemoveFromARGV("--no-ubsan");
 my $enableCoverage = checkForArgumentAndRemoveFromARGV("--coverage");
 my $disableCoverage = checkForArgumentAndRemoveFromARGV("--no-coverage");
+my $validateDependencies = checkForArgumentAndRemoveFromARGV("--validate-dependencies");
 my $ltoMode;
 if (!checkForArgumentAndRemoveFromARGVGettingValue("--lto-mode", \$ltoMode)) {
     $ltoMode="";
@@ -75,11 +75,6 @@
     $forceOptimizationLevel="";
 }
 
-if (checkForArgumentAndRemoveFromARGV("-h") || checkForArgumentAndRemoveFromARGV("--help")) {
-    printUsage();
-    exit 1;
-}
-
 if (!$architecture) {
     # Handle --64-bit explicitly here, as we don't want our other scripts to accept it
     for my $i (0 .. $#ARGV) {
@@ -92,11 +87,7 @@
 }
 
 my $baseProductDir = baseProductDir();
-if (isAppleCocoaWebKit() && !isCMakeBuild()) {
-    markBaseProductDirectoryAsCreatedByXcodeBuildSystem();
-} else {
-    make_path($baseProductDir);
-}
+system "mkdir", "-p", "$baseProductDir";
 
 if (checkForArgumentAndRemoveFromARGV("--reset")) {
     for my $fileName (qw(Architecture ASan Configuration Coverage ForceOptimizationLevel LTO TSan UBSan)) {
@@ -106,6 +97,16 @@
     exit 0;
 }
 
+if ((!$configuration && !$architecture && !$enableASAN && !$disableASAN && !$enableCoverage && !$disableCoverage && !$enableTSAN && !$disableTSAN && !$enableUBSAN && !$disableUBSAN && !$ltoMode && !$forceOptimizationLevel)
+    || ($enableASAN && $disableASAN)
+    || ($enableCoverage && $disableCoverage)
+    || ($enableTSAN && $disableTSAN)
+    || ($enableUBSAN && $disableUBSAN)
+    ) {
+    printUsage();
+    exit 1;
+}
+
 if ($enableASAN && $enableTSAN) {
     print STDERR "ERROR: Address Sanitizer and Thread Sanitzer can't be enabled together.\n";
     printUsage();
@@ -165,6 +166,10 @@
     close LTO;
 }
 
+if ($validateDependencies) {
+    setCreatedByXcodeBuildSystem();
+}
+
 printCurrentSettings();
 
 exit 0;

Modified: trunk/Tools/Scripts/webkitdirs.pm (292625 => 292626)


--- trunk/Tools/Scripts/webkitdirs.pm	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Tools/Scripts/webkitdirs.pm	2022-04-08 18:29:35 UTC (rev 292626)
@@ -341,7 +341,7 @@
     ($baseProductDir) = @_;
 }
 
-sub markBaseProductDirectoryAsCreatedByXcodeBuildSystem
+sub setCreatedByXcodeBuildSystem
 {
     determineBaseProductDir();
     make_path($baseProductDir);

Modified: trunk/Tools/TestWebKitAPI/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Tools/TestWebKitAPI/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Tools/TestWebKitAPI/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -36,8 +36,6 @@
 
 OTHER_CPLUSPLUSFLAGS = $(inherited) -ftemplate-depth=256;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_RELOCATABLE_FRAMEWORKS = YES;
 
 WK_CCACHE_DIR = $(SRCROOT)/../ccache;

Modified: trunk/Tools/WebKitTestRunner/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Tools/WebKitTestRunner/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Tools/WebKitTestRunner/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -32,7 +32,5 @@
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_CCACHE_DIR = $(SRCROOT)/../ccache;
 #include "../../ccache/ccache.xcconfig"

Modified: trunk/Tools/lldb/lldbWebKitTester/Configurations/DebugRelease.xcconfig (292625 => 292626)


--- trunk/Tools/lldb/lldbWebKitTester/Configurations/DebugRelease.xcconfig	2022-04-08 18:19:49 UTC (rev 292625)
+++ trunk/Tools/lldb/lldbWebKitTester/Configurations/DebugRelease.xcconfig	2022-04-08 18:29:35 UTC (rev 292626)
@@ -32,7 +32,5 @@
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;
 
-VALIDATE_DEPENDENCIES = YES_ERROR;
-
 WK_CCACHE_DIR = $(SRCROOT)/../../../Tools/ccache;
 #include "../../../ccache/ccache.xcconfig"
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to