2024-11-30 18:20:23 +00:00
|
|
|
--- ./webrtc/BUILD.gn.orig
|
|
|
|
+++ ./webrtc/BUILD.gn
|
2023-07-19 18:27:37 +00:00
|
|
|
@@ -38,7 +38,7 @@
|
|
|
|
# 'ninja default' and then 'ninja all', the second build should do no work.
|
|
|
|
group("default") {
|
|
|
|
testonly = true
|
|
|
|
- deps = [ ":webrtc" ]
|
|
|
|
+ deps = [ ":signaldeswebrtc" ]
|
|
|
|
if (rtc_build_examples) {
|
|
|
|
deps += [ "examples" ]
|
|
|
|
}
|
|
|
|
@@ -464,7 +464,7 @@
|
|
|
|
|
|
|
|
if (!build_with_chromium) {
|
|
|
|
# Target to build all the WebRTC production code.
|
|
|
|
- rtc_static_library("webrtc") {
|
|
|
|
+ rtc_shared_library("signaldeswebrtc") {
|
|
|
|
# Only the root target and the test should depend on this.
|
|
|
|
visibility = [
|
|
|
|
"//:default",
|
|
|
|
@@ -472,7 +472,6 @@
|
|
|
|
]
|
|
|
|
|
|
|
|
sources = []
|
|
|
|
- complete_static_lib = true
|
|
|
|
suppressed_configs += [ "//build/config/compiler:thin_archive" ]
|
|
|
|
defines = []
|
|
|
|
|
2024-11-30 18:20:23 +00:00
|
|
|
diff --git a/webrtc/third_party/googletest/BUILD.gn.orig b/webrtc/third_party/googletest/BUILD.gn
|
2024-09-05 20:05:34 +00:00
|
|
|
index 14089f0..b7dc621 100644
|
2024-11-30 18:20:23 +00:00
|
|
|
--- a/webrtc/third_party/googletest/BUILD.gn.orig
|
|
|
|
+++ b/webrtc/third_party/googletest/BUILD.gn
|
2024-09-05 20:05:34 +00:00
|
|
|
@@ -48,7 +48,6 @@ config("gtest_config") {
|
|
|
|
|
|
|
|
configs = [
|
|
|
|
"//third_party/abseil-cpp:absl_include_config",
|
|
|
|
- "//third_party/re2:re2_config",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2024-11-30 18:20:23 +00:00
|
|
|
diff --git a/webrtc/third_party/googletest/BUILD.gn.orig b/webrtc/third_party/googletest/BUILD.gn
|
2024-09-19 01:01:16 +00:00
|
|
|
index b7dc621..367f929 100644
|
2024-11-30 18:20:23 +00:00
|
|
|
--- a/webrtc/third_party/googletest/BUILD.gn.orig
|
|
|
|
+++ b/webrtc/third_party/googletest/BUILD.gn
|
2024-09-19 01:01:16 +00:00
|
|
|
@@ -133,7 +133,6 @@ source_set("gtest") {
|
|
|
|
|
|
|
|
# googletest only needs `absl`, but this makes gn check happier.
|
|
|
|
deps = [ "//third_party/abseil-cpp:absl_full" ]
|
|
|
|
- public_deps = [ "//third_party/re2" ]
|
|
|
|
if (is_nacl || !build_with_chromium) {
|
|
|
|
defines += [ "GTEST_DISABLE_PRINT_STACK_TRACE" ]
|
|
|
|
sources -= [
|
2024-11-30 18:20:23 +00:00
|
|
|
diff --git a/webrtc/third_party/fuzztest/BUILD.gn.orig b/webrtc/third_party/fuzztest/BUILD.gn
|
2024-09-19 01:01:16 +00:00
|
|
|
index 57ee790..ba1d297 100644
|
2024-11-30 18:20:23 +00:00
|
|
|
--- a/webrtc/third_party/fuzztest/BUILD.gn.orig
|
|
|
|
+++ b/webrtc/third_party/fuzztest/BUILD.gn
|
2024-09-19 01:01:16 +00:00
|
|
|
@@ -309,7 +309,6 @@ source_set("fuzztest_internal") {
|
|
|
|
# For RE2 mutators. It's questionable whether we want to pull this library
|
|
|
|
# into every fuzztest target, but this is the approach used in other
|
|
|
|
# fuzztest contexts so we'll do the same
|
|
|
|
- "//third_party/re2",
|
|
|
|
|
|
|
|
# For protobuf mutators
|
|
|
|
"$protobuf_target_prefix:protobuf_lite",
|