Skip to content

Commit 1d290d6

Browse files
timpeutcopybara-github
authored andcommitted
Disallow files in android_binary + android_local_test deps.
These current have no effect. PiperOrigin-RevId: 791009415 Change-Id: Ic917e057f09238296bf71a6f1f43598feddd5dc6
1 parent efccc13 commit 1d290d6

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

rules/android_binary/attrs.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ visibility(PROJECT_VISIBILITY)
3333

3434
def make_deps(allow_rules, providers, aspects):
3535
return attr.label_list(
36-
allow_files = True,
3736
allow_rules = allow_rules,
3837
providers = providers,
3938
aspects = aspects,

rules/android_local_test/attrs.bzl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def make_attrs(additional_aspects = [], native_libs_transition = None):
2727
return _attrs.add(
2828
dict(
2929
deps = attr.label_list(
30-
allow_files = True,
3130
allow_rules = [
3231
"aar_import",
3332
"android_library",
@@ -108,7 +107,6 @@ def make_attrs(additional_aspects = [], native_libs_transition = None):
108107
""",
109108
),
110109
runtime_deps = attr.label_list(
111-
allow_files = True,
112110
doc = """
113111
Libraries to make available to the final binary or test at runtime only.
114112
Like ordinary `deps`, these will appear on the runtime classpath, but unlike

0 commit comments

Comments
 (0)