media/libstagefright/update-patches.sh
author Ralph Giles <giles@mozilla.com>
Fri, 27 Mar 2015 14:56:04 -0700
changeset 269557 7cfa6632f4cef96133012ca2c9746ec776a18d79
parent 201745 1917418786902a900ff00ff637f80efee5638301
permissions -rwxr-xr-x
Bug 1148639 - Update libvpx. r=kinetik From b40321d9379faaa62fa16d6d412098fca115042d Mon Sep 17 00:00:00 2001 Result of running ./update.py --ndk ~/android/android-ndk-r9 --commit afad1a84c15b9af8298a37c0fa449e0af40931fd

#!/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