@@ -39,6 +39,31 @@ _flutter_framework_headers = [
39
39
40
40
_flutter_framework_headers_copy_dir = " $_flutter_framework_dir /Headers"
41
41
42
+ source_set (" flutter_framework_source_arc" ) {
43
+ visibility = [ " :*" ]
44
+ cflags_objc = flutter_cflags_objc_arc
45
+ cflags_objcc = flutter_cflags_objcc_arc
46
+
47
+ defines = [ " FLUTTER_FRAMEWORK=1" ]
48
+ allow_circular_includes_from = [ " :flutter_framework_source" ]
49
+ deps = [
50
+ " :flutter_framework_source" ,
51
+ " //flutter/fml" ,
52
+ " //flutter/shell/platform/common:common_cpp_input" ,
53
+ " //flutter/shell/platform/darwin/common:framework_shared" ,
54
+ " //third_party/icu" ,
55
+ ]
56
+ public_configs = [ " //flutter:config" ]
57
+
58
+ sources = [
59
+ " framework/Source/FlutterTextInputDelegate.h" ,
60
+ " framework/Source/FlutterTextInputPlugin.h" ,
61
+ " framework/Source/FlutterTextInputPlugin.mm" ,
62
+ ]
63
+
64
+ frameworks = [ " UIKit.framework" ]
65
+ }
66
+
42
67
source_set (" flutter_framework_source" ) {
43
68
visibility = [ " :*" ]
44
69
cflags_objc = flutter_cflags_objc
@@ -81,9 +106,6 @@ source_set("flutter_framework_source") {
81
106
" framework/Source/FlutterSemanticsScrollView.mm" ,
82
107
" framework/Source/FlutterSpellCheckPlugin.h" ,
83
108
" framework/Source/FlutterSpellCheckPlugin.mm" ,
84
- " framework/Source/FlutterTextInputDelegate.h" ,
85
- " framework/Source/FlutterTextInputPlugin.h" ,
86
- " framework/Source/FlutterTextInputPlugin.mm" ,
87
109
" framework/Source/FlutterUIPressProxy.h" ,
88
110
" framework/Source/FlutterUIPressProxy.mm" ,
89
111
" framework/Source/FlutterUndoManagerDelegate.h" ,
@@ -209,6 +231,7 @@ source_set("ios_test_flutter_mrc") {
209
231
]
210
232
deps = [
211
233
" :flutter_framework_source" ,
234
+ " :flutter_framework_source_arc" ,
212
235
" //flutter/common:common" ,
213
236
" //flutter/lib/ui:ui" ,
214
237
" //flutter/shell/common:common" ,
@@ -267,6 +290,7 @@ shared_library("ios_test_flutter") {
267
290
deps = [
268
291
" :flutter_framework" ,
269
292
" :flutter_framework_source" ,
293
+ " :flutter_framework_source_arc" ,
270
294
" :ios_gpu_configuration" ,
271
295
" :ios_test_flutter_mrc" ,
272
296
" //flutter/common:common" ,
@@ -295,7 +319,10 @@ shared_library("create_flutter_framework_dylib") {
295
319
296
320
public = _flutter_framework_headers
297
321
298
- deps = [ " :flutter_framework_source" ]
322
+ deps = [
323
+ " :flutter_framework_source" ,
324
+ " :flutter_framework_source_arc" ,
325
+ ]
299
326
300
327
public_configs = [ " //flutter:config" ]
301
328
}
0 commit comments