gecko/media/libstagefright/update-patches.sh
Anthony Jones 93019cbd7b Bug 908503: Change to stagefright demuxer; r=cpearce
Bug 908503: Build config changes for libstagefright demuxer; r=glandium
Bug 908503: Remove Chrome demuxer; r=cpearce
Bug 908503: Add conversion to Annex B; r=cpearce
2014-05-22 14:42:39 +12:00

14 lines
320 B
Bash
Executable File

#!/bin/bash -e
cd `dirname "$0"`
rm -fR patches
for DIR in `find android/ -name .git`
do
DIR=`dirname ${DIR}`
DST=patches/${DIR:8}
echo ${DST}
mkdir -p `dirname ${DST}`
cp -a ${DIR:8} `dirname ${DIR}`
(cd ${DIR} && git diff) > ${DST}.patch
(cd ${DIR} && git rev-parse HEAD) > ${DST}.tag
done