aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/xcode/swiftstdlibtoolwrapper
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2015-08-03 18:23:11 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2015-08-04 09:09:21 +0000
commit46e805787c395b856441a44ee454a0497ebe5bbd (patch)
treeab1fff82d57ca39eb0c49f9610fa350e60560e64 /src/tools/xcode/swiftstdlibtoolwrapper
parent52455102107bfba52347c18e2f02ae148f127958 (diff)
*** Reason for rollback *** Breaking builds. [] *** Original change description *** RELNOTES: actoolzip, momczip and swiftstdlibtoolzip have all been made into bash scripts and have been renamed to actoolwrapper, momcwrapper and swiftstdlibtoolwrapper respectively. The old versions will be deleted in a later change. -- MOS_MIGRATED_REVID=99742398
Diffstat (limited to 'src/tools/xcode/swiftstdlibtoolwrapper')
-rw-r--r--src/tools/xcode/swiftstdlibtoolwrapper/BUILD12
-rw-r--r--src/tools/xcode/swiftstdlibtoolwrapper/README6
-rwxr-xr-xsrc/tools/xcode/swiftstdlibtoolwrapper/swiftstdlibtoolwrapper.sh39
3 files changed, 0 insertions, 57 deletions
diff --git a/src/tools/xcode/swiftstdlibtoolwrapper/BUILD b/src/tools/xcode/swiftstdlibtoolwrapper/BUILD
deleted file mode 100644
index 1a98848a4b..0000000000
--- a/src/tools/xcode/swiftstdlibtoolwrapper/BUILD
+++ /dev/null
@@ -1,12 +0,0 @@
-package(default_visibility = ["//src/test:__subpackages__"])
-
-filegroup(
- name = "srcs",
- srcs = glob(["**"]),
-)
-
-sh_binary(
- name = "swiftstdlibtoolwrapper",
- srcs = ["swiftstdlibtoolwrapper.sh"],
- data = ["//src/tools/xcode/realpath:realpath_genrule"],
-)
diff --git a/src/tools/xcode/swiftstdlibtoolwrapper/README b/src/tools/xcode/swiftstdlibtoolwrapper/README
deleted file mode 100644
index e99ff4ed02..0000000000
--- a/src/tools/xcode/swiftstdlibtoolwrapper/README
+++ /dev/null
@@ -1,6 +0,0 @@
-swiftstdlibtoolwrapper runs swift-stdlib-tool, which scans executables and
-copies required Swift framework dylibs to the specified path, then zips up
-the output for further bundle merging.
-
-swift-stdlib-tool only runs on Darwin, so swiftstdlibtoolwrapper only runs on
-Darwin.
diff --git a/src/tools/xcode/swiftstdlibtoolwrapper/swiftstdlibtoolwrapper.sh b/src/tools/xcode/swiftstdlibtoolwrapper/swiftstdlibtoolwrapper.sh
deleted file mode 100755
index f036b93e17..0000000000
--- a/src/tools/xcode/swiftstdlibtoolwrapper/swiftstdlibtoolwrapper.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-# Copyright 2015 Google Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# swiftstdlibtoolwrapper runs swift-stdlib-tool and zips up the output.
-# This script only runs on darwin and you must have Xcode installed.
-#
-# $1 OUTZIP - the path to place the output zip file.
-
-set -eu
-
-OUTZIP=$(tools/objc/realpath "$1")
-shift 1
-TEMPDIR=$(mktemp -d -t ZippingOutput)
-trap "rm -rf \"$TEMPDIR\"" EXIT
-
-FULLPATH="$TEMPDIR/Frameworks"
-
-/usr/bin/xcrun swift-stdlib-tool --copy --verbose --destination "$FULLPATH" "$@"
-
-# Need to push/pop tempdir so it isn't the current working directory
-# when we remove it via the EXIT trap.
-pushd "$TEMPDIR" > /dev/null
-# Reset all dates to Unix Epoch so that two identical zips created at different
-# times appear the exact same for comparison purposes.
-find . -exec touch -h -t 197001010000 {} \;
-zip --symlinks --recurse-paths --quiet "$OUTZIP" .
-popd > /dev/null