Skip to content

Commit e8ef16a

Browse files
committed
Flutter Engine
-default desktop-embedding off -remove gtk dep if unit-tests disabled -pulls in patch: flutter/engine#51179 Signed-off-by: Joel Winarske <[email protected]>
1 parent 06a0c23 commit e8ef16a

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
Mar 18, 2024
4+
1. flutter-engine: default desktop-embedding off
5+
2. flutter-engine: remove gtk dep if unit-tests disabled
6+
37
Mar 12, 2024
48
1. Rive 0.8.4
59
2. packagegroup-flutter-sdk-deps
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
From 4e7bd1d0a02ff2f3b17f30d20e40a9cb4f83f409 Mon Sep 17 00:00:00 2001
2+
From: Joel Winarske <[email protected]>
3+
Date: Mon, 18 Mar 2024 13:56:37 -0700
4+
Subject: [PATCH] Skip configuration dependency if unit tests are disabled
5+
6+
Signed-off-by: Joel Winarske <[email protected]>
7+
---
8+
flutter/testing/BUILD.gn | 2 +-
9+
1 file changed, 1 insertion(+), 1 deletion(-)
10+
11+
diff --git a/flutter/testing/BUILD.gn b/flutter/testing/BUILD.gn
12+
index 9eac294525..a7d094695c 100644
13+
--- a/flutter/testing/BUILD.gn
14+
+++ b/flutter/testing/BUILD.gn
15+
@@ -51,7 +51,7 @@ source_set("testing") {
16+
17+
sources = [ "run_all_unittests.cc" ]
18+
19+
- if (is_linux) {
20+
+ if (enable_unittests && is_linux) {
21+
# So that we can call gtk_init in main().
22+
configs += [ "//flutter/shell/platform/linux/config:gtk" ]
23+
}
24+
--
25+
2.44.0
26+

recipes-graphics/flutter-engine/flutter-engine_git.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ FLUTTER_ENGINE_PATCHES ?= "\
2727
file://0001-remove-x11-dependency.patch \
2828
file://0001-disable-x11.patch \
2929
file://0001-impeller-workaround.patch \
30+
file://0001-Skip-configuration-dependency-if-unit-tests-are-disa.patch \
3031
"
3132

3233
SRC_URI = "\
@@ -62,7 +63,6 @@ COMPATIBLE_MACHINE:x86-64 = "(.*)"
6263

6364
PACKAGECONFIG ??= "\
6465
debug profile release \
65-
desktop-embeddings \
6666
embedder-for-target \
6767
fontconfig \
6868
mallinfo2 \

0 commit comments

Comments
 (0)