Skip to content

Commit aa6623b

Browse files
committed
Modify BUILD.gn for TizenAutofill
1 parent ff9486d commit aa6623b

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

flutter/shell/platform/tizen/BUILD.gn

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,34 @@ template("embedder") {
174174
defines += invoker.defines
175175
defines += [ "FLUTTER_ENGINE_NO_PROTOTYPES" ]
176176

177-
if (api_version == "6.5" && target_name != "flutter_tizen_wearable") {
177+
if (api_version == "5.5") {
178+
major_version = 5
179+
minor_version = 5
180+
} else if (api_version == "6.0") {
181+
major_version = 6
182+
minor_version = 0
183+
} else if (api_version == "6.5") {
184+
major_version = 6
185+
minor_version = 5
186+
} else if (api_version == "7.0") {
187+
major_version = 7
188+
minor_version = 0
189+
}
190+
191+
if (major_version >= 6 || (major_version >= 5 && minor_version >= 5)) {
192+
sources += [
193+
"tizen_autofill.cc",
194+
]
195+
196+
libs += [
197+
"capi-ui-autofill",
198+
"capi-ui-autofill-common",
199+
]
200+
201+
defines += [ "AUTOFILL_SUPPORT" ]
202+
}
203+
204+
if (target_name != "flutter_tizen_wearable" && (major_version >= 7 || (major_version >= 6 && minor_version >= 5))) {
178205
sources += [
179206
"flutter_tizen_nui.cc",
180207
"tizen_view_nui.cc",
@@ -183,6 +210,7 @@ template("embedder") {
183210
libs += [
184211
"dali2-adaptor",
185212
"dali2-core",
213+
"dali2-toolkit",
186214
]
187215

188216
defines += [ "NUI_SUPPORT" ]

0 commit comments

Comments
 (0)