Skip to content

Commit c947df3

Browse files
ted-xiecopybara-github
authored andcommitted
Delete use of deprecated fused attr from android_application
Closes #515 PiperOrigin-RevId: 933264645 Change-Id: If2d12ac2c24ce4367991f5fb69221df2ee27cfed
1 parent 7ec262c commit c947df3

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

rules/android_application/android_feature_module_rule.bzl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ def _impl(ctx):
7171
title_id = ctx.attr.title_id,
7272
title_lib = ctx.attr.title_lib,
7373
feature_name = ctx.attr.feature_name,
74-
fused = ctx.attr.fused,
7574
manifest = ctx.file.manifest,
7675
is_asset_pack = ctx.attr.is_asset_pack,
7776
),
@@ -123,9 +122,6 @@ def android_feature_module_macro(_android_binary, _android_library, **attrs):
123122
if not getattr(attrs, attr, None):
124123
fail("%s missing required attr <%s>" % (fqn, attr))
125124

126-
if hasattr(attrs, "fused") and hasattr(attrs, "manifest"):
127-
fail("%s cannot specify <fused> and <manifest>. Prefer <manifest>")
128-
129125
targets = get_feature_module_paths(fqn)
130126

131127
tags = getattr(attrs, "tags", [])
@@ -200,7 +196,6 @@ EOF
200196
title_id = title_id,
201197
title_lib = str(targets.title_lib),
202198
feature_name = getattr(attrs, "feature_name", attrs.name),
203-
fused = getattr(attrs, "fused", True),
204199
manifest = getattr(attrs, "manifest", None),
205200
tags = tags,
206201
transitive_configs = transitive_configs,

0 commit comments

Comments
 (0)