make fractional translation the default for desktop/tester (flutter/engine#34115)

This commit is contained in:
Jonah Williams
2022-06-17 09:13:09 -07:00
committed by GitHub
parent 4357cd9462
commit 53eaa066a6

View File

@@ -59,6 +59,10 @@ if (flutter_runtime_mode == "debug") {
feature_defines_list += [ "FLUTTER_RUNTIME_MODE=0" ]
}
if (is_linux || is_mac || is_win) {
support_fractional_translation = true
}
if (support_fractional_translation) {
feature_defines_list += [ "SUPPORT_FRACTIONAL_TRANSLATION=1" ]
}