WebKit Bugzilla
Attachment 360050 Details for
Bug 193781
: Update Xcode projects with "Apply Configuration to XCFileLists" build target
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-193781-20190124164757.patch (text/plain), 31.03 KB, created by
Keith Rollin
on 2019-01-24 16:47:58 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Keith Rollin
Created:
2019-01-24 16:47:58 PST
Size:
31.03 KB
patch
obsolete
>Subversion Revision: 240454 >diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog >index 9ae276c0f84fa796457251aeb27ed8892cc0eff8..b802e6aa55f0fce7c1fa07169301fd528978abfb 100644 >--- a/Source/JavaScriptCore/ChangeLog >+++ b/Source/JavaScriptCore/ChangeLog >@@ -1,3 +1,39 @@ >+2019-01-24 Keith Rollin <krollin@apple.com> >+ >+ Update Xcode projects with "Apply Configuration to XCFileLists" build target >+ https://bugs.webkit.org/show_bug.cgi?id=193781 >+ <rdar://problem/47201153> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Part of generating the .xcfilelists used as part of adopting XCBuild >+ includes running `make DerivedSources.make` from a standalone script. >+ Itâs important for this invocation to have the same environment as >+ when the actual build invokes `make DerivedSources.make`. If the >+ environments are different, then the two invocations will provide >+ different results. In order to get the same environment in the >+ standalone script, have the script launch xcodebuild targeting the >+ "Apply Configuration to XCFileLists" build target, which will then >+ re-invoke our standalone script. The script is now running again, this >+ time in an environment with all workspace, project, target, xcconfig >+ and other environment variables established. >+ >+ The "Apply Configuration to XCFileLists" build target accomplishes >+ this task via a small embedded shell script that consists only of: >+ >+ eval "${WK_SUBLAUNCH_SCRIPT_PARAMETERS[@]}" >+ >+ The process that invokes "Apply Configuration to XCFileLists" first >+ sets WK_SUBLAUNCH_SCRIPT_PARAMETERS to an array of commands to be >+ evaluated and exports it into the shell environment. When xcodebuild >+ is invoked, it inherits the value of this variable and can `eval` the >+ contents of that variable. Our external standalone script can then set >+ WK_SUBLAUNCH_SCRIPT_PARAMETERS to the path to itself, along with a set >+ of command-line parameters needed to restart itself in the appropriate >+ state. >+ >+ * JavaScriptCore.xcodeproj/project.pbxproj: >+ > 2019-01-24 Yusuke Suzuki <ysuzuki@apple.com> > > stress/const-semantics.js fails a dfg-eager / ftl-eager run with an ASAN release build. >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index a112c3fdb6b29278746a261630269c0e11d6170f..3e118a5cd5e05842059ff42435a435724c3d148f 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,41 @@ >+2019-01-24 Keith Rollin <krollin@apple.com> >+ >+ Update Xcode projects with "Apply Configuration to XCFileLists" build target >+ https://bugs.webkit.org/show_bug.cgi?id=193781 >+ <rdar://problem/47201153> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Part of generating the .xcfilelists used as part of adopting XCBuild >+ includes running `make DerivedSources.make` from a standalone script. >+ Itâs important for this invocation to have the same environment as >+ when the actual build invokes `make DerivedSources.make`. If the >+ environments are different, then the two invocations will provide >+ different results. In order to get the same environment in the >+ standalone script, have the script launch xcodebuild targeting the >+ "Apply Configuration to XCFileLists" build target, which will then >+ re-invoke our standalone script. The script is now running again, this >+ time in an environment with all workspace, project, target, xcconfig >+ and other environment variables established. >+ >+ The "Apply Configuration to XCFileLists" build target accomplishes >+ this task via a small embedded shell script that consists only of: >+ >+ eval "${WK_SUBLAUNCH_SCRIPT_PARAMETERS[@]}" >+ >+ The process that invokes "Apply Configuration to XCFileLists" first >+ sets WK_SUBLAUNCH_SCRIPT_PARAMETERS to an array of commands to be >+ evaluated and exports it into the shell environment. When xcodebuild >+ is invoked, it inherits the value of this variable and can `eval` the >+ contents of that variable. Our external standalone script can then set >+ WK_SUBLAUNCH_SCRIPT_PARAMETERS to the path to itself, along with a set >+ of command-line parameters needed to restart itself in the appropriate >+ state. >+ >+ No new tests since there should be no observable behavior difference. >+ >+ * WebCore.xcodeproj/project.pbxproj: >+ > 2019-01-24 Charles Vazac <cvazac@akamai.com> > > Implement PerformanceObserver.supportedEntryTypes >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index ab3c62aae6422cefa2f5a41da18c8a443686c803..20dd68681dc3560e6d19dac0e5168e772f6bfe9b 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,39 @@ >+2019-01-24 Keith Rollin <krollin@apple.com> >+ >+ Update Xcode projects with "Apply Configuration to XCFileLists" build target >+ https://bugs.webkit.org/show_bug.cgi?id=193781 >+ <rdar://problem/47201153> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Part of generating the .xcfilelists used as part of adopting XCBuild >+ includes running `make DerivedSources.make` from a standalone script. >+ Itâs important for this invocation to have the same environment as >+ when the actual build invokes `make DerivedSources.make`. If the >+ environments are different, then the two invocations will provide >+ different results. In order to get the same environment in the >+ standalone script, have the script launch xcodebuild targeting the >+ "Apply Configuration to XCFileLists" build target, which will then >+ re-invoke our standalone script. The script is now running again, this >+ time in an environment with all workspace, project, target, xcconfig >+ and other environment variables established. >+ >+ The "Apply Configuration to XCFileLists" build target accomplishes >+ this task via a small embedded shell script that consists only of: >+ >+ eval "${WK_SUBLAUNCH_SCRIPT_PARAMETERS[@]}" >+ >+ The process that invokes "Apply Configuration to XCFileLists" first >+ sets WK_SUBLAUNCH_SCRIPT_PARAMETERS to an array of commands to be >+ evaluated and exports it into the shell environment. When xcodebuild >+ is invoked, it inherits the value of this variable and can `eval` the >+ contents of that variable. Our external standalone script can then set >+ WK_SUBLAUNCH_SCRIPT_PARAMETERS to the path to itself, along with a set >+ of command-line parameters needed to restart itself in the appropriate >+ state. >+ >+ * WebKit.xcodeproj/project.pbxproj: >+ > 2019-01-24 Truitt Savell <tsavell@apple.com> > > Unreviewed, rolling out r240446. >diff --git a/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj b/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj >index 40ada2a2f534ec86d691a6fb3b636cabe215b779..d17e78dbb5772b62e7669c4bd4333b2a189b5e5b 100644 >--- a/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj >+++ b/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj >@@ -31,6 +31,17 @@ > name = "LLInt Settings"; > productName = "Derived Sources"; > }; >+ 5325BDBF21DFF2B100A0DEE1 /* Apply Configuration to XCFileLists */ = { >+ isa = PBXAggregateTarget; >+ buildConfigurationList = 5325BDC421DFF2B200A0DEE1 /* Build configuration list for PBXAggregateTarget "Apply Configuration to XCFileLists" */; >+ buildPhases = ( >+ 5325BDC521DFF2BA00A0DEE1 /* ShellScript */, >+ ); >+ dependencies = ( >+ ); >+ name = "Apply Configuration to XCFileLists"; >+ productName = "Apply Configuration to XCFileLists"; >+ }; > 53B4BD041F68AF8900D2BEA3 /* Generate Unified Sources */ = { > isa = PBXAggregateTarget; > buildConfigurationList = 53B4BD0A1F68AF8900D2BEA3 /* Build configuration list for PBXAggregateTarget "Generate Unified Sources" */; >@@ -10060,8 +10071,15 @@ > isa = PBXProject; > attributes = { > BuildIndependentTargetsInParallel = YES; >+ DefaultBuildSystemTypeForWorkspace = Original; > LastSwiftUpdateCheck = 0700; > LastUpgradeCheck = 1000; >+ TargetAttributes = { >+ 5325BDBF21DFF2B100A0DEE1 = { >+ CreatedOnToolsVersion = 10.1; >+ ProvisioningStyle = Automatic; >+ }; >+ }; > }; > buildConfigurationList = 149C277108902AFE008A9EFC /* Build configuration list for PBXProject "JavaScriptCore" */; > compatibilityVersion = "Xcode 3.2"; >@@ -10094,6 +10112,7 @@ > 0F6183381C45F62A0072450B /* testair */, > FE533CA11F217DB30016A1FE /* testmasm */, > 79281BBD20B62B3E002E2A60 /* testmem */, >+ 5325BDBF21DFF2B100A0DEE1 /* Apply Configuration to XCFileLists */, > ); > }; > /* End PBXProject section */ >@@ -10195,6 +10214,23 @@ > shellPath = /bin/sh; > shellScript = "set -e\n\nif [[ -f \"${BUILT_PRODUCTS_DIR}/libWTF.a\" ]]; then\n ln -s -f -h \"${BUILT_PRODUCTS_DIR}/libWTF.a\" \"${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore/libWTF.a\"\nelse\n ln -s -f -h \"${SDK_DIR}${WK_ALTERNATE_WEBKIT_SDK_PATH}/usr/local/lib/libWTF.a\" \"${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore/libWTF.a\"\nfi"; > }; >+ 5325BDC521DFF2BA00A0DEE1 /* ShellScript */ = { >+ isa = PBXShellScriptBuildPhase; >+ buildActionMask = 2147483647; >+ files = ( >+ ); >+ inputFileListPaths = ( >+ ); >+ inputPaths = ( >+ ); >+ outputFileListPaths = ( >+ ); >+ outputPaths = ( >+ ); >+ runOnlyForDeploymentPostprocessing = 0; >+ shellPath = /bin/sh; >+ shellScript = "eval \"${WK_SUBLAUNCH_SCRIPT_PARAMETERS[@]}\"\n"; >+ }; > 53B4BD091F68AF8900D2BEA3 /* Generate Unified Sources */ = { > isa = PBXShellScriptBuildPhase; > buildActionMask = 2147483647; >@@ -11070,6 +11106,42 @@ > }; > name = Production; > }; >+ 5325BDC021DFF2B200A0DEE1 /* Debug */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = 1C9051430BA9E8A70081E9D0 /* JavaScriptCore.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Debug; >+ }; >+ 5325BDC121DFF2B200A0DEE1 /* Release */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = 1C9051430BA9E8A70081E9D0 /* JavaScriptCore.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Release; >+ }; >+ 5325BDC221DFF2B200A0DEE1 /* Profiling */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = 1C9051430BA9E8A70081E9D0 /* JavaScriptCore.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Profiling; >+ }; >+ 5325BDC321DFF2B200A0DEE1 /* Production */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = 1C9051430BA9E8A70081E9D0 /* JavaScriptCore.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Production; >+ }; > 53B4BD0B1F68AF8900D2BEA3 /* Debug */ = { > isa = XCBuildConfiguration; > buildSettings = { >@@ -11475,6 +11547,17 @@ > defaultConfigurationIsVisible = 0; > defaultConfigurationName = Production; > }; >+ 5325BDC421DFF2B200A0DEE1 /* Build configuration list for PBXAggregateTarget "Apply Configuration to XCFileLists" */ = { >+ isa = XCConfigurationList; >+ buildConfigurations = ( >+ 5325BDC021DFF2B200A0DEE1 /* Debug */, >+ 5325BDC121DFF2B200A0DEE1 /* Release */, >+ 5325BDC221DFF2B200A0DEE1 /* Profiling */, >+ 5325BDC321DFF2B200A0DEE1 /* Production */, >+ ); >+ defaultConfigurationIsVisible = 0; >+ defaultConfigurationName = Production; >+ }; > 53B4BD0A1F68AF8900D2BEA3 /* Build configuration list for PBXAggregateTarget "Generate Unified Sources" */ = { > isa = XCConfigurationList; > buildConfigurations = ( >diff --git a/Source/WebCore/WebCore.xcodeproj/project.pbxproj b/Source/WebCore/WebCore.xcodeproj/project.pbxproj >index c3d8fdb0456340c9ccf04a02f7af143988642c64..4ca3c0a93fac223ebb2843f606d5518184586739 100644 >--- a/Source/WebCore/WebCore.xcodeproj/project.pbxproj >+++ b/Source/WebCore/WebCore.xcodeproj/project.pbxproj >@@ -20,6 +20,17 @@ > name = All; > productName = All; > }; >+ 5325BDC621DFF33700A0DEE1 /* Apply Configuration to XCFileLists */ = { >+ isa = PBXAggregateTarget; >+ buildConfigurationList = 5325BDCB21DFF33A00A0DEE1 /* Build configuration list for PBXAggregateTarget "Apply Configuration to XCFileLists" */; >+ buildPhases = ( >+ 5325BDCC21DFF33E00A0DEE1 /* ShellScript */, >+ ); >+ dependencies = ( >+ ); >+ name = "Apply Configuration to XCFileLists"; >+ productName = "Apply Configuration to XCFileLists"; >+ }; > 5355E8D11F967E9D0031E08C /* Generate Unified Sources */ = { > isa = PBXAggregateTarget; > buildConfigurationList = 5355E8D41F967E9D0031E08C /* Build configuration list for PBXAggregateTarget "Generate Unified Sources" */; >@@ -32445,8 +32456,15 @@ > isa = PBXProject; > attributes = { > BuildIndependentTargetsInParallel = YES; >+ DefaultBuildSystemTypeForWorkspace = Original; > LastSwiftUpdateCheck = 0700; > LastUpgradeCheck = 1000; >+ TargetAttributes = { >+ 5325BDC621DFF33700A0DEE1 = { >+ CreatedOnToolsVersion = 10.1; >+ ProvisioningStyle = Automatic; >+ }; >+ }; > }; > buildConfigurationList = 149C284308902B11008A9EFC /* Build configuration list for PBXProject "WebCore" */; > compatibilityVersion = "Xcode 3.2"; >@@ -32479,6 +32497,7 @@ > DD041FBE09D9DDBE0010AF2A /* Derived Sources */, > 417DA6CF13734E02007C57FB /* WebCoreTestSupport */, > E1BA66F31742BDE000C20251 /* WebCoreTestShim */, >+ 5325BDC621DFF33700A0DEE1 /* Apply Configuration to XCFileLists */, > ); > }; > /* End PBXProject section */ >@@ -32544,6 +32563,23 @@ > shellPath = /bin/sh; > shellScript = "if [ \"${ACTION}\" = \"installhdrs\" -o \"${ACTION}\" = \"installapi\" ]; then\n exit 0;\nfi\n\nif [ -f ../../Tools/Scripts/check-for-inappropriate-objc-class-names ]; then\n ../../Tools/Scripts/check-for-inappropriate-objc-class-names Web || exit $?\nfi"; > }; >+ 5325BDCC21DFF33E00A0DEE1 /* ShellScript */ = { >+ isa = PBXShellScriptBuildPhase; >+ buildActionMask = 2147483647; >+ files = ( >+ ); >+ inputFileListPaths = ( >+ ); >+ inputPaths = ( >+ ); >+ outputFileListPaths = ( >+ ); >+ outputPaths = ( >+ ); >+ runOnlyForDeploymentPostprocessing = 0; >+ shellPath = /bin/sh; >+ shellScript = "eval \"${WK_SUBLAUNCH_SCRIPT_PARAMETERS[@]}\"\n"; >+ }; > 5355E8D21F967E9D0031E08C /* Generate Unified Sources */ = { > isa = PBXShellScriptBuildPhase; > buildActionMask = 2147483647; >@@ -33706,6 +33742,33 @@ > }; > name = Production; > }; >+ 5325BDC721DFF33900A0DEE1 /* Debug */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = 1CDD45E50BA9C84600F90147 /* WebCore.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Debug; >+ }; >+ 5325BDC821DFF33900A0DEE1 /* Release */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = 1CDD45E50BA9C84600F90147 /* WebCore.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Release; >+ }; >+ 5325BDC921DFF33900A0DEE1 /* Production */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = 1CDD45E50BA9C84600F90147 /* WebCore.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Production; >+ }; > 5355E8D51F967E9D0031E08C /* Debug */ = { > isa = XCBuildConfiguration; > baseConfigurationReference = 5355E8DD1F9680420031E08C /* GenerateUnifiedSources.xcconfig */; >@@ -33818,6 +33881,16 @@ > defaultConfigurationIsVisible = 0; > defaultConfigurationName = Production; > }; >+ 5325BDCB21DFF33A00A0DEE1 /* Build configuration list for PBXAggregateTarget "Apply Configuration to XCFileLists" */ = { >+ isa = XCConfigurationList; >+ buildConfigurations = ( >+ 5325BDC721DFF33900A0DEE1 /* Debug */, >+ 5325BDC821DFF33900A0DEE1 /* Release */, >+ 5325BDC921DFF33900A0DEE1 /* Production */, >+ ); >+ defaultConfigurationIsVisible = 0; >+ defaultConfigurationName = Production; >+ }; > 5355E8D41F967E9D0031E08C /* Build configuration list for PBXAggregateTarget "Generate Unified Sources" */ = { > isa = XCConfigurationList; > buildConfigurations = ( >diff --git a/Source/WebKit/WebKit.xcodeproj/project.pbxproj b/Source/WebKit/WebKit.xcodeproj/project.pbxproj >index a0b70ca478d5e3341a38359cbf24d98de4409186..99353acdba136c90bfecd04fb6113761f1fcd571 100644 >--- a/Source/WebKit/WebKit.xcodeproj/project.pbxproj >+++ b/Source/WebKit/WebKit.xcodeproj/project.pbxproj >@@ -34,6 +34,17 @@ > name = "Generate Unified Sources"; > productName = "Derived Sources"; > }; >+ 5325BDCD21DFF47700A0DEE1 /* Apply Configuration to XCFileLists */ = { >+ isa = PBXAggregateTarget; >+ buildConfigurationList = 5325BDD121DFF47800A0DEE1 /* Build configuration list for PBXAggregateTarget "Apply Configuration to XCFileLists" */; >+ buildPhases = ( >+ 5325BDD221DFF47C00A0DEE1 /* ShellScript */, >+ ); >+ dependencies = ( >+ ); >+ name = "Apply Configuration to XCFileLists"; >+ productName = "Apply Configuration to XCFileLists"; >+ }; > A7AADA1019395CA9003EA1C7 /* Sandbox Profiles */ = { > isa = PBXAggregateTarget; > buildConfigurationList = A7AADA1419395CA9003EA1C7 /* Build configuration list for PBXAggregateTarget "Sandbox Profiles" */; >@@ -10127,9 +10138,14 @@ > 0867D690FE84028FC02AAC07 /* Project object */ = { > isa = PBXProject; > attributes = { >+ DefaultBuildSystemTypeForWorkspace = Original; > LastSwiftUpdateCheck = 0700; > LastUpgradeCheck = 1000; > TargetAttributes = { >+ 5325BDCD21DFF47700A0DEE1 = { >+ CreatedOnToolsVersion = 10.1; >+ ProvisioningStyle = Automatic; >+ }; > E1AC2E2720F7B94C00B0897D = { > CreatedOnToolsVersion = 9.3; > ProvisioningStyle = Automatic; >@@ -10160,6 +10176,7 @@ > BC82841E16B4FDF600A278FE /* Plugin.64 */, > A7AADA1019395CA9003EA1C7 /* Sandbox Profiles */, > E1AC2E2720F7B94C00B0897D /* Unlock Keychain */, >+ 5325BDCD21DFF47700A0DEE1 /* Apply Configuration to XCFileLists */, > ); > }; > /* End PBXProject section */ >@@ -10453,6 +10470,23 @@ > shellPath = /bin/sh; > shellScript = "Scripts/process-network-sandbox-entitlements.sh\n"; > }; >+ 5325BDD221DFF47C00A0DEE1 /* ShellScript */ = { >+ isa = PBXShellScriptBuildPhase; >+ buildActionMask = 2147483647; >+ files = ( >+ ); >+ inputFileListPaths = ( >+ ); >+ inputPaths = ( >+ ); >+ outputFileListPaths = ( >+ ); >+ outputPaths = ( >+ ); >+ runOnlyForDeploymentPostprocessing = 0; >+ shellPath = /bin/sh; >+ shellScript = "eval \"${WK_SUBLAUNCH_SCRIPT_PARAMETERS[@]}\"\n"; >+ }; > 5DF408C5131DD46700130071 /* Check For Weak VTables and Externals */ = { > isa = PBXShellScriptBuildPhase; > buildActionMask = 2147483647; >@@ -11337,6 +11371,33 @@ > }; > name = Production; > }; >+ 5325BDCE21DFF47800A0DEE1 /* Debug */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = BCB86F4B116AAACD00CE20B7 /* WebKit.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Debug; >+ }; >+ 5325BDCF21DFF47800A0DEE1 /* Release */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = BCB86F4B116AAACD00CE20B7 /* WebKit.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Release; >+ }; >+ 5325BDD021DFF47800A0DEE1 /* Production */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = BCB86F4B116AAACD00CE20B7 /* WebKit.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Production; >+ }; > 5D22D69B11A7534600BF30E5 /* Production */ = { > isa = XCBuildConfiguration; > baseConfigurationReference = 1A4F976A100E7B6600637A18 /* Base.xcconfig */; >@@ -11573,6 +11634,16 @@ > defaultConfigurationIsVisible = 0; > defaultConfigurationName = Production; > }; >+ 5325BDD121DFF47800A0DEE1 /* Build configuration list for PBXAggregateTarget "Apply Configuration to XCFileLists" */ = { >+ isa = XCConfigurationList; >+ buildConfigurations = ( >+ 5325BDCE21DFF47800A0DEE1 /* Debug */, >+ 5325BDCF21DFF47800A0DEE1 /* Release */, >+ 5325BDD021DFF47800A0DEE1 /* Production */, >+ ); >+ defaultConfigurationIsVisible = 0; >+ defaultConfigurationName = Production; >+ }; > A7AADA1419395CA9003EA1C7 /* Build configuration list for PBXAggregateTarget "Sandbox Profiles" */ = { > isa = XCConfigurationList; > buildConfigurations = ( >diff --git a/Tools/ChangeLog b/Tools/ChangeLog >index 988a6bf3fd1c6b4bc61cdb965c8267a7ca2bbea6..24ff8ca93c607145df7c08cc34879657c7ba1813 100644 >--- a/Tools/ChangeLog >+++ b/Tools/ChangeLog >@@ -1,3 +1,40 @@ >+2019-01-24 Keith Rollin <krollin@apple.com> >+ >+ Update Xcode projects with "Apply Configuration to XCFileLists" build target >+ https://bugs.webkit.org/show_bug.cgi?id=193781 >+ <rdar://problem/47201153> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Part of generating the .xcfilelists used as part of adopting XCBuild >+ includes running `make DerivedSources.make` from a standalone script. >+ Itâs important for this invocation to have the same environment as >+ when the actual build invokes `make DerivedSources.make`. If the >+ environments are different, then the two invocations will provide >+ different results. In order to get the same environment in the >+ standalone script, have the script launch xcodebuild targeting the >+ "Apply Configuration to XCFileLists" build target, which will then >+ re-invoke our standalone script. The script is now running again, this >+ time in an environment with all workspace, project, target, xcconfig >+ and other environment variables established. >+ >+ The "Apply Configuration to XCFileLists" build target accomplishes >+ this task via a small embedded shell script that consists only of: >+ >+ eval "${WK_SUBLAUNCH_SCRIPT_PARAMETERS[@]}" >+ >+ The process that invokes "Apply Configuration to XCFileLists" first >+ sets WK_SUBLAUNCH_SCRIPT_PARAMETERS to an array of commands to be >+ evaluated and exports it into the shell environment. When xcodebuild >+ is invoked, it inherits the value of this variable and can `eval` the >+ contents of that variable. Our external standalone script can then set >+ WK_SUBLAUNCH_SCRIPT_PARAMETERS to the path to itself, along with a set >+ of command-line parameters needed to restart itself in the appropriate >+ state. >+ >+ * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: >+ * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: >+ > 2019-01-24 Truitt Savell <tsavell@apple.com> > > Unreviewed, rolling out r240446. >diff --git a/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj b/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj >index 56701e9dd49491716f6ef33edfa313664a83de73..9dfe8b3be3827d542fcb251288d68cbe3812b81d 100644 >--- a/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj >+++ b/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj >@@ -18,6 +18,17 @@ > name = "Derived Sources"; > productName = All; > }; >+ 5325BDD321DFF4BD00A0DEE1 /* Apply Configuration to XCFileLists */ = { >+ isa = PBXAggregateTarget; >+ buildConfigurationList = 5325BDD721DFF4BE00A0DEE1 /* Build configuration list for PBXAggregateTarget "Apply Configuration to XCFileLists" */; >+ buildPhases = ( >+ 5325BDD821DFF4C100A0DEE1 /* ShellScript */, >+ ); >+ dependencies = ( >+ ); >+ name = "Apply Configuration to XCFileLists"; >+ productName = "Apply Configuration to XCFileLists"; >+ }; > A84F608D08B1370600E9745F /* All */ = { > isa = PBXAggregateTarget; > buildConfigurationList = A84F609208B1371400E9745F /* Build configuration list for PBXAggregateTarget "All" */; >@@ -959,8 +970,15 @@ > 08FB7793FE84155DC02AAC07 /* Project object */ = { > isa = PBXProject; > attributes = { >+ DefaultBuildSystemTypeForWorkspace = Original; > LastSwiftUpdateCheck = 0700; > LastUpgradeCheck = 1000; >+ TargetAttributes = { >+ 5325BDD321DFF4BD00A0DEE1 = { >+ CreatedOnToolsVersion = 10.1; >+ ProvisioningStyle = Automatic; >+ }; >+ }; > }; > buildConfigurationList = 149C29C308902C6D008A9EFC /* Build configuration list for PBXProject "DumpRenderTree" */; > compatibilityVersion = "Xcode 3.2"; >@@ -982,6 +1000,7 @@ > A1158D7E18927E7A0088C17B /* DumpRenderTree.app */, > 141BF21E096A441D00E0753C /* TestNetscapePlugIn */, > 2D403EB2150871F9005358D2 /* LayoutTestHelper */, >+ 5325BDD321DFF4BD00A0DEE1 /* Apply Configuration to XCFileLists */, > ); > }; > /* End PBXProject section */ >@@ -1018,6 +1037,23 @@ > shellPath = /bin/sh; > shellScript = "Scripts/generate-derived-sources.sh\n"; > }; >+ 5325BDD821DFF4C100A0DEE1 /* ShellScript */ = { >+ isa = PBXShellScriptBuildPhase; >+ buildActionMask = 2147483647; >+ files = ( >+ ); >+ inputFileListPaths = ( >+ ); >+ inputPaths = ( >+ ); >+ outputFileListPaths = ( >+ ); >+ outputPaths = ( >+ ); >+ runOnlyForDeploymentPostprocessing = 0; >+ shellPath = /bin/sh; >+ shellScript = "eval \"${WK_SUBLAUNCH_SCRIPT_PARAMETERS[@]}\"\n"; >+ }; > /* End PBXShellScriptBuildPhase section */ > > /* Begin PBXSourcesBuildPhase section */ >@@ -1284,6 +1320,33 @@ > }; > name = Production; > }; >+ 5325BDD421DFF4BE00A0DEE1 /* Debug */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = BCB281F00CFA713D007E533E /* DumpRenderTree.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Debug; >+ }; >+ 5325BDD521DFF4BE00A0DEE1 /* Release */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = BCB281F00CFA713D007E533E /* DumpRenderTree.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Release; >+ }; >+ 5325BDD621DFF4BE00A0DEE1 /* Production */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = BCB281F00CFA713D007E533E /* DumpRenderTree.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Production; >+ }; > 90CBC3500F748B1300A712B7 /* Production */ = { > isa = XCBuildConfiguration; > baseConfigurationReference = BCB281EE0CFA713D007E533E /* Base.xcconfig */; >@@ -1453,6 +1516,16 @@ > defaultConfigurationIsVisible = 0; > defaultConfigurationName = Production; > }; >+ 5325BDD721DFF4BE00A0DEE1 /* Build configuration list for PBXAggregateTarget "Apply Configuration to XCFileLists" */ = { >+ isa = XCConfigurationList; >+ buildConfigurations = ( >+ 5325BDD421DFF4BE00A0DEE1 /* Debug */, >+ 5325BDD521DFF4BE00A0DEE1 /* Release */, >+ 5325BDD621DFF4BE00A0DEE1 /* Production */, >+ ); >+ defaultConfigurationIsVisible = 0; >+ defaultConfigurationName = Production; >+ }; > A1158DAB18927E7B0088C17B /* Build configuration list for PBXNativeTarget "DumpRenderTree.app" */ = { > isa = XCConfigurationList; > buildConfigurations = ( >diff --git a/Tools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj b/Tools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj >index c0961653e5de4cac8bbb2997c8298e3a57599bf9..e86bed1020b9f028f962aacdf8626684d0c72917 100644 >--- a/Tools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj >+++ b/Tools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj >@@ -7,6 +7,17 @@ > objects = { > > /* Begin PBXAggregateTarget section */ >+ 5325BDD921DFF4F500A0DEE1 /* Apply Configuration to XCFileLists */ = { >+ isa = PBXAggregateTarget; >+ buildConfigurationList = 5325BDDD21DFF4F500A0DEE1 /* Build configuration list for PBXAggregateTarget "Apply Configuration to XCFileLists" */; >+ buildPhases = ( >+ 5325BDDE21DFF4F800A0DEE1 /* ShellScript */, >+ ); >+ dependencies = ( >+ ); >+ name = "Apply Configuration to XCFileLists"; >+ productName = "Apply Configuration to XCFileLists"; >+ }; > A115CCB41B9D769D00E89159 /* All */ = { > isa = PBXAggregateTarget; > buildConfigurationList = A115CCB51B9D769D00E89159 /* Build configuration list for PBXAggregateTarget "All" */; >@@ -958,9 +969,13 @@ > 08FB7793FE84155DC02AAC07 /* Project object */ = { > isa = PBXProject; > attributes = { >+ DefaultBuildSystemTypeForWorkspace = Original; > LastSwiftUpdateCheck = 0700; > LastUpgradeCheck = 1000; > TargetAttributes = { >+ 5325BDD921DFF4F500A0DEE1 = { >+ CreatedOnToolsVersion = 10.1; >+ }; > A115CCB41B9D769D00E89159 = { > CreatedOnToolsVersion = 7.0; > }; >@@ -986,6 +1001,7 @@ > BC25186111D15D54002EBC01 /* WebKitTestRunnerInjectedBundle */, > BC952D7711F3BF5D003398B4 /* Derived Sources */, > A18510261B9ADE4800744AEB /* WebKitTestRunner (Library) */, >+ 5325BDD921DFF4F500A0DEE1 /* Apply Configuration to XCFileLists */, > ); > }; > /* End PBXProject section */ >@@ -1026,6 +1042,23 @@ > /* End PBXResourcesBuildPhase section */ > > /* Begin PBXShellScriptBuildPhase section */ >+ 5325BDDE21DFF4F800A0DEE1 /* ShellScript */ = { >+ isa = PBXShellScriptBuildPhase; >+ buildActionMask = 2147483647; >+ files = ( >+ ); >+ inputFileListPaths = ( >+ ); >+ inputPaths = ( >+ ); >+ outputFileListPaths = ( >+ ); >+ outputPaths = ( >+ ); >+ runOnlyForDeploymentPostprocessing = 0; >+ shellPath = /bin/sh; >+ shellScript = "eval \"${WK_SUBLAUNCH_SCRIPT_PARAMETERS[@]}\"\n"; >+ }; > BC952D8211F3BF78003398B4 /* Generate Derived Sources */ = { > isa = PBXShellScriptBuildPhase; > buildActionMask = 2147483647; >@@ -1250,6 +1283,33 @@ > }; > name = Production; > }; >+ 5325BDDA21DFF4F500A0DEE1 /* Debug */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = A18510381B9ADF2200744AEB /* WebKitTestRunner.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Debug; >+ }; >+ 5325BDDB21DFF4F500A0DEE1 /* Release */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = A18510381B9ADF2200744AEB /* WebKitTestRunner.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Release; >+ }; >+ 5325BDDC21DFF4F500A0DEE1 /* Production */ = { >+ isa = XCBuildConfiguration; >+ baseConfigurationReference = A18510381B9ADF2200744AEB /* WebKitTestRunner.xcconfig */; >+ buildSettings = { >+ CODE_SIGN_STYLE = Automatic; >+ PRODUCT_NAME = "$(TARGET_NAME)"; >+ }; >+ name = Production; >+ }; > A115CCB61B9D769D00E89159 /* Debug */ = { > isa = XCBuildConfiguration; > buildSettings = { >@@ -1381,6 +1441,16 @@ > defaultConfigurationIsVisible = 0; > defaultConfigurationName = Production; > }; >+ 5325BDDD21DFF4F500A0DEE1 /* Build configuration list for PBXAggregateTarget "Apply Configuration to XCFileLists" */ = { >+ isa = XCConfigurationList; >+ buildConfigurations = ( >+ 5325BDDA21DFF4F500A0DEE1 /* Debug */, >+ 5325BDDB21DFF4F500A0DEE1 /* Release */, >+ 5325BDDC21DFF4F500A0DEE1 /* Production */, >+ ); >+ defaultConfigurationIsVisible = 0; >+ defaultConfigurationName = Production; >+ }; > A115CCB51B9D769D00E89159 /* Build configuration list for PBXAggregateTarget "All" */ = { > isa = XCConfigurationList; > buildConfigurations = (
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 193781
:
360050
|
360064
|
360167