Skip to content

Commit

Permalink
revert changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc committed Nov 28, 2024
1 parent 23bea75 commit c60d376
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions webrtc-sys/libwebrtc/build_android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ cd src
# git apply "$COMMAND_DIR/patches/add_licenses.patch" -v --ignore-space-change --ignore-whitespace --whitespace=nowarn
git apply "$COMMAND_DIR/patches/ssl_verify_callback_with_native_handle.patch" -v --ignore-space-change --ignore-whitespace --whitespace=nowarn
git apply "$COMMAND_DIR/patches/add_deps.patch" -v --ignore-space-change --ignore-whitespace --whitespace=nowarn
git apply "$COMMAND_DIR/patches/android_use_libunwind.patch" -v --ignore-space-change --ignore-whitespace --whitespace=nowarn
cd ..

mkdir -p "$ARTIFACTS_DIR/lib"
Expand Down
22 changes: 22 additions & 0 deletions webrtc-sys/libwebrtc/patches/android_use_libunwind.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
--- src/buildtools/third_party/libunwind/BUILD.gn 2023-07-10 10:19:16
+++ src/buildtools/third_party/libunwind/BUILD.gn 2023-07-10 10:19:23
@@ -20,7 +20,7 @@
}

source_set("libunwind") {
- visibility = []
+ visibility = ["//build/config:common_deps"]
if (is_fuchsia) {
visibility += [ "//buildtools/third_party/libc++abi" ]
} else if (is_android) {
--- src/build/config/BUILD.gn 2023-07-10 10:23:49
+++ src/build/config/BUILD.gn 2023-07-10 10:23:54
@@ -244,6 +244,8 @@

if (use_custom_libcxx) {
public_deps += [ "//buildtools/third_party/libc++" ]
+ } else {
+ public_deps += [ "//buildtools/third_party/libunwind" ]
}

if (use_afl) {

0 comments on commit c60d376

Please sign in to comment.