Skip to content

Commit 446adb1

Browse files
authored
Do not include :unittests unless enable_unittests (flutter#173729)
Closes flutter#173728. This will need to be cherrypicked into both 3.35 and 3.36.
1 parent db1ede3 commit 446adb1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

engine/src/flutter/BUILD.gn

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,12 @@ group("flutter") {
7878

7979
if (!is_qnx) {
8080
public_deps = [
81-
":unittests",
8281
"//flutter/shell/platform/embedder:flutter_engine",
8382
"//flutter/sky",
8483
]
84+
if (enable_unittests) {
85+
public_deps += [ ":unittests" ]
86+
}
8587
}
8688

8789
# Ensure the example for a sample embedder compiles.

0 commit comments

Comments
 (0)