summaryrefslogtreecommitdiffstats
path: root/chrome/tools
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 17:33:35 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 17:33:35 +0000
commit7b075aa2d1f495905167898c207025e1ff833d34 (patch)
treeece60d802fab239d60a1685adc537bf5110237e3 /chrome/tools
parent54bf174b9e2f9a9ec0a7d2882f68b2ae45ce4247 (diff)
downloadchromium_src-7b075aa2d1f495905167898c207025e1ff833d34.zip
chromium_src-7b075aa2d1f495905167898c207025e1ff833d34.tar.gz
chromium_src-7b075aa2d1f495905167898c207025e1ff833d34.tar.bz2
Temporary clean-up script to remove obsolete FFmpeg dylibs after r31050.
TODO: Remove this in a couple of weeks. BUG=0 TEST={} Review URL: http://codereview.chromium.org/360055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31102 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rwxr-xr-xchrome/tools/build/mac/remove_ffmpeg_dylibs19
1 files changed, 19 insertions, 0 deletions
diff --git a/chrome/tools/build/mac/remove_ffmpeg_dylibs b/chrome/tools/build/mac/remove_ffmpeg_dylibs
new file mode 100755
index 0000000..fad15ae0
--- /dev/null
+++ b/chrome/tools/build/mac/remove_ffmpeg_dylibs
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Remove obsolete FFmpeg shared libraries. Previously, there were three
+# prebuilt FFmpeg libraries checked in as binaries, and they were copied into
+# the framework's Libraries directory. Since trunk 31050, they have been
+# replaced by the single library libffmpegsumo.dylib (love the name), built
+# from source during a normal build.
+#
+# TODO(mark): Remove after November 19, 2009, allowing two weeks for the
+# transition.
+
+LIBRARIES_DIR="${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Libraries"
+rm -f "${LIBRARIES_DIR}/libavcodec.52.dylib" \
+ "${LIBRARIES_DIR}/libavformat.52.dylib" \
+ "${LIBRARIES_DIR}/libavutil.50.dylib"