Skip to content

Commit

Permalink
Upgrade to 109.0.5414.74 version (#26)
Browse files Browse the repository at this point in the history
Co-authored-by: alexlapa <[email protected]>
  • Loading branch information
instrumentisto-bot and alexlapa authored Jan 18, 2023
1 parent 4655d3d commit 0c2e712
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 4 deletions.
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ CCACHE_VERSION=4.6

# WebRTC doesn't have its own versioning, so we use Chromium versions:
# https://chromiumdash.appspot.com/releases
WEBRTC_VERSION=108.0.5359.124
WEBRTC_VERSION=109.0.5414.74
# Look for the concrete revision for WebRTC in:
# https://chromium.googlesource.com/chromium/src/+/refs/tags/<WEBRTC_VERSION>/DEPS
WEBRTC_COMMIT=93081d594f7efff72958a79251f53731b99e902b
WEBRTC_COMMIT=4e8a5ac68e8a4ae0588f54f2fdb8cbd1eb5fa50d

PACKAGE_NAMES= \
linux-arm64 \
Expand Down
1 change: 1 addition & 0 deletions build/android/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ patch: common-patch
patch -p2 < $(PATCH_DIR)/disable_use_hermetic_xcode_on_linux.patch && \
patch -p2 < $(PATCH_DIR)/android_version.patch && \
patch -p2 < $(PATCH_DIR)/android_use_libunwind.patch && \
patch -p2 < $(PATCH_DIR)/android_revert_use-relative-vtable-ABI.patch && \
$(SCRIPTS_DIR)/generate_android_version.sh $(SRC_DIR) $(WEBRTC_COMMIT) $(WEBRTC_VERSION)


Expand Down
4 changes: 2 additions & 2 deletions instrumentisto-libwebrtc-bin.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Pod::Spec.new do |spec|
spec.name = "instrumentisto-libwebrtc-bin"
spec.version = "108.0.5359.124"
spec.version = "109.0.5414.74"
spec.summary = "Pre-compiled `libwebrtc` library for Darwin used by Medea Flutter-WebRTC."

spec.homepage = "https://github.com/instrumentisto/libwebrtc-bin"
spec.license = { :type => 'BSD', :file => 'WebRTC.xcframework/LICENSE.md' }
spec.author = { 'Instrumentisto Team' => '[email protected]' }
spec.ios.deployment_target = '10.0'

spec.source = { :http => "https://github.com/instrumentisto/libwebrtc-bin/releases/download/108.0.5359.124/libwebrtc-ios.zip" }
spec.source = { :http => "https://github.com/instrumentisto/libwebrtc-bin/releases/download/109.0.5414.74/libwebrtc-ios.zip" }
spec.vendored_frameworks = "WebRTC.xcframework"

spec.pod_target_xcconfig = {
Expand Down
18 changes: 18 additions & 0 deletions patch/android_revert_use-relative-vtable-ABI.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
diff --git a/src/build/config/android/BUILD.gn b/src/build/config/android/BUILD.gn
index f8d2e95c0..efdd3826e 100644
--- a/src/build/config/android/BUILD.gn
+++ b/src/build/config/android/BUILD.gn
@@ -45,13 +45,6 @@ config("compiler") {
# by shrinking the alignment gap between segments. This also causes all
# segments to be mapped adjacently, which breakpad relies on.
ldflags += [ "-Wl,-z,max-page-size=4096" ]
-
- # Use non-standard (non-Itanium) ABI for Android64. This shrinks vtables
- # in half and places them to .rodata, which greatly improves memory
- # footprint. It should be safe, assuming all of C++ in Chromium is
- # compiled with this flag.
- cflags_cc = [ "-fexperimental-relative-c++-abi-vtables" ]
- ldflags += [ "-fexperimental-relative-c++-abi-vtables" ]
}

if (current_cpu == "arm64") {
5 changes: 5 additions & 0 deletions scripts/fetch_webrtc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ if [ -f "$WEBRTC_DIR/.gclient" ]; then
git reset --hard;
git clean -xdf;
fi
if [ -d "$WEBRTC_DIR/src/buildtools" ]; then
cd "$WEBRTC_DIR/src/buildtools";
git reset --hard;
git clean -xdf;
fi
else
echo "Getting WebRTC...";
rm -f "$DEPOT_TOOLS_DIR/metrics.cfg"
Expand Down

0 comments on commit 0c2e712

Please sign in to comment.