summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xchrome/chrome.gyp10
-rwxr-xr-xchrome/tools/build/mac/remove_ffmpeg_dylibs19
2 files changed, 29 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 013a584..aa8d6d1 100755
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -5864,6 +5864,16 @@
'${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries'
],
},
+ {
+ # TODO(mark): Remove after November 19, 2009, allowing two
+ # weeks for the transition.
+ 'postbuild_name': 'Remove obsolete FFmpeg dylibs',
+ 'variables': {
+ 'remove_ffmpeg_dylibs_path':
+ 'tools/build/mac/remove_ffmpeg_dylibs',
+ },
+ 'action': ['<(remove_ffmpeg_dylibs_path)'],
+ },
],
'copies': [
{
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"