@@ -140,7 +140,8 @@ template("embedder") {
140140 " GLESv2" ,
141141 ]
142142
143- if (target_name == " flutter_tizen_common" ) {
143+ if (target_name == " flutter_tizen_common" ||
144+ target_name == " flutter_tizen_common_experimental" ) {
144145 sources += [ " channels/tizen_shell.cc" ]
145146
146147 libs += [
@@ -152,6 +153,14 @@ template("embedder") {
152153 defines += invoker .defines
153154 defines += [ " FLUTTER_ENGINE_NO_PROTOTYPES" ]
154155
156+ if (target_name == " flutter_tizen_mobile_experimental" ||
157+ target_name == " flutter_tizen_tv_experimental" ||
158+ target_name == " flutter_tizen_common_experimental" ) {
159+ defines += [ " FLUTTER_TIZEN_EXPERIMENTAL" ]
160+ sources += [ " tizen_renderer_vulkan.cc" ]
161+ libs += [ " vulkan" ]
162+ }
163+
155164 if (api_version != " 6.0" ) {
156165 sources += [
157166 " flutter_tizen_nui.cc" ,
@@ -201,18 +210,36 @@ embedder("flutter_tizen_mobile") {
201210 defines = [ " MOBILE_PROFILE" ]
202211}
203212
213+ embedder (" flutter_tizen_mobile_experimental" ) {
214+ target_type = " shared_library"
215+
216+ defines = [ " MOBILE_PROFILE" ]
217+ }
218+
204219embedder (" flutter_tizen_tv" ) {
205220 target_type = " shared_library"
206221
207222 defines = [ " TV_PROFILE" ]
208223}
209224
225+ embedder (" flutter_tizen_tv_experimental" ) {
226+ target_type = " shared_library"
227+
228+ defines = [ " TV_PROFILE" ]
229+ }
230+
210231embedder (" flutter_tizen_common" ) {
211232 target_type = " shared_library"
212233
213234 defines = [ " COMMON_PROFILE" ]
214235}
215236
237+ embedder (" flutter_tizen_common_experimental" ) {
238+ target_type = " shared_library"
239+
240+ defines = [ " COMMON_PROFILE" ]
241+ }
242+
216243embedder (" flutter_tizen_source" ) {
217244 target_type = " source_set"
218245
@@ -257,8 +284,11 @@ copy("publish_headers_tizen") {
257284group (" flutter_tizen" ) {
258285 deps = [
259286 " :flutter_tizen_common" ,
287+ " :flutter_tizen_common_experimental" ,
260288 " :flutter_tizen_mobile" ,
289+ " :flutter_tizen_mobile_experimental" ,
261290 " :flutter_tizen_tv" ,
291+ " :flutter_tizen_tv_experimental" ,
262292 " :publish_cpp_client_wrapper" ,
263293 " :publish_headers_tizen" ,
264294 ]
0 commit comments