flatten 20260225

This commit is contained in:
Timothy Prepscius
2026-02-25 13:00:25 -05:00
commit b308a4c280
114 changed files with 14759 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
mkdir -p sdk/include
LIB=webrtc
mkdir $LIB
pushd $LIB
git clone https://webrtc.googlesource.com/src webrtc
(cd webrtc && git checkout cd5c25cb80)
cp -av $DIR/Makefile.project webrtc/
mv webrtc/makefile webrtc/makefile-no
ln -s $DIR/../../Makefile-template webrtc/Makefile
sed -i -e 's/GetMacOSStatusErrorString(err)/(const char *)0/g' webrtc/webrtc/base/logging.cc
sed -i -e 's/GetMacOSStatusCommentString(err)/(const char *)0/g' webrtc/webrtc/base/logging.cc
pushd webrtc
make
popd
popd
pushd sdk/include
rm -f webrtc
ln -fs ../../$LIB/webrtc/webrtc webrtc
popd