aports/testing/signal-desktop/webrtc-rollback-3rdparty-build-gn.patch
2025-02-01 18:49:31 +00:00

31 lines
1.1 KiB
Diff

diff --git a/webrtc/third_party/BUILD.gn b/webrtc/third_party/BUILD.gn
index 256fd092e2e..4ce797ebad7 100644
--- a/webrtc/third_party/BUILD.gn
+++ b/webrtc/third_party/BUILD.gn
@@ -55,12 +55,10 @@ group("jpeg_includes") {
component("freetype_harfbuzz") {
public_configs = []
public_deps = []
- if (enable_freetype) {
- if (use_system_freetype) {
- public_configs += [ "//build/linux:freetype_from_pkgconfig" ]
- } else {
- public_deps += [ "//third_party/freetype:freetype_source" ]
- }
+ if (use_system_freetype) {
+ public_configs += [ "//build/linux:freetype_from_pkgconfig" ]
+ } else {
+ public_deps += [ "//third_party/freetype:freetype_source" ]
}
if (use_system_harfbuzz) {
public_configs += [ "//third_party/harfbuzz-ng:harfbuzz_from_pkgconfig" ]
@@ -71,8 +69,5 @@ component("freetype_harfbuzz") {
buildflag_header("freetype_buildflags") {
header = "freetype_buildflags.h"
- flags = [
- "USE_SYSTEM_FREETYPE=$use_system_freetype",
- "ENABLE_FREETYPE=$enable_freetype",
- ]
+ flags = [ "USE_SYSTEM_FREETYPE=$use_system_freetype" ]
}