@@ -73,20 +73,20 @@ def _default_automatic_target_processing_aspect_impl(target, ctx):
73
73
74
74
if ctx .rule .kind == "cc_library" :
75
75
xcode_targets = {
76
- "deps" : [target_type .compile ],
76
+ "deps" : [target_type .compile , None ],
77
77
"interface_deps" : [target_type .compile ],
78
78
}
79
79
elif ctx .rule .kind == "objc_library" :
80
80
xcode_targets = {
81
- "deps" : [target_type .compile ],
81
+ "deps" : [target_type .compile , None ],
82
82
"runtime_deps" : [target_type .compile ],
83
83
}
84
84
non_arc_srcs = ["non_arc_srcs" ]
85
85
pch = "pch"
86
86
elif ctx .rule .kind == "swift_library" :
87
87
xcode_targets = {
88
- "deps" : [target_type .compile ],
89
- "private_deps" : [target_type .compile ],
88
+ "deps" : [target_type .compile , None ],
89
+ "private_deps" : [target_type .compile , None ],
90
90
}
91
91
elif ctx .rule .kind == "apple_resource_bundle" :
92
92
xcode_targets = {}
@@ -97,7 +97,7 @@ def _default_automatic_target_processing_aspect_impl(target, ctx):
97
97
should_generate_target = False
98
98
elif AppleBundleInfo in target :
99
99
xcode_targets = {
100
- "deps" : [target_type .compile ],
100
+ "deps" : [target_type .compile , None ],
101
101
}
102
102
if _is_test_target (target ):
103
103
xcode_targets ["test_host" ] = [target_type .compile ]
@@ -126,7 +126,9 @@ def _default_automatic_target_processing_aspect_impl(target, ctx):
126
126
infoplists = ["infoplists" ]
127
127
if "launchdplists" in attrs :
128
128
launchdplists = ["launchdplists" ]
129
- xcode_targets = {"deps" : [target_type .compile ]}
129
+ xcode_targets = {
130
+ "deps" : [target_type .compile , None ],
131
+ }
130
132
elif AppleFrameworkImportInfo in target :
131
133
xcode_targets = {"deps" : [target_type .compile ]}
132
134
if getattr (ctx .rule .attr , "bundle_only" , False ):
@@ -136,7 +138,9 @@ def _default_automatic_target_processing_aspect_impl(target, ctx):
136
138
137
139
should_generate_target = False
138
140
else :
139
- xcode_targets = {"deps" : [this_target_type ]}
141
+ xcode_targets = {
142
+ "deps" : [this_target_type , None ],
143
+ }
140
144
141
145
# Command-line tools
142
146
executable = target [DefaultInfo ].files_to_run .executable
0 commit comments