Skip to content

Commit a172a42

Browse files
authored
Merge pull request #72642 from rintaro/6.0-macros-no-xcodeplugin
[6.0][Macros] Remove plugin related flags from toolchain Info.plist
2 parents dd39e19 + be6ce4b commit a172a42

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

utils/build-script-impl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3295,8 +3295,6 @@ function build_and_test_installable_package() {
32953295
COMPATIBILITY_VERSION=2
32963296
COMPATIBILITY_VERSION_DISPLAY_STRING="Xcode 8.0"
32973297
DARWIN_TOOLCHAIN_CREATED_DATE="$(date -u +'%a %b %d %T GMT %Y')"
3298-
XCODE_DEFAULT_TOOLCHAIN_PLUGIN_SERVER_DESCRIPTOR='$(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins#$(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-plugin-server'
3299-
XCODE_DEFAULT_TOOLCHAIN_LOCAL_PLUGIN_SERVER_DESCRIPTOR='$(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins#$(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-plugin-server'
33003298

33013299
SWIFT_USE_DEVELOPMENT_TOOLCHAIN_RUNTIME="YES"
33023300
if [[ "${DARWIN_TOOLCHAIN_REQUIRE_USE_OS_RUNTIME}" -eq "1" ]]; then
@@ -3332,8 +3330,6 @@ function build_and_test_installable_package() {
33323330
call ${PLISTBUDDY_BIN} -c "Add OverrideBuildSettings:SWIFT_DEVELOPMENT_TOOLCHAIN string 'YES'" "${DARWIN_TOOLCHAIN_INFO_PLIST}"
33333331
call ${PLISTBUDDY_BIN} -c "Add OverrideBuildSettings:SWIFT_USE_DEVELOPMENT_TOOLCHAIN_RUNTIME string '${SWIFT_USE_DEVELOPMENT_TOOLCHAIN_RUNTIME}'" "${DARWIN_TOOLCHAIN_INFO_PLIST}"
33343332

3335-
call ${PLISTBUDDY_BIN} -c "Add OverrideBuildSettings:OTHER_SWIFT_FLAGS string '\$(inherited) -Xfrontend -external-plugin-path -Xfrontend ${XCODE_DEFAULT_TOOLCHAIN_PLUGIN_SERVER_DESCRIPTOR} -Xfrontend -external-plugin-path -Xfrontend ${XCODE_DEFAULT_TOOLCHAIN_LOCAL_PLUGIN_SERVER_DESCRIPTOR}'" "${DARWIN_TOOLCHAIN_INFO_PLIST}"
3336-
33373333
call chmod a+r "${DARWIN_TOOLCHAIN_INFO_PLIST}"
33383334

33393335
if [[ "${DARWIN_TOOLCHAIN_APPLICATION_CERT}" ]] ; then

0 commit comments

Comments
 (0)