Skip to content

Commit

Permalink
Simplify appending deps to inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bencodes committed Oct 26, 2023
1 parent e097812 commit a1144c7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rules/impl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,9 @@ def _run_android_lint(
args.add("--disable-check", check)
for check in enable_checks:
args.add("--enable-check", check)
classpath_deps = _utils.list_or_depset_to_list(deps)
for dep in classpath_deps:
for dep in _utils.list_or_depset_to_list(deps):
args.add("--classpath", dep)
inputs.extend(classpath_deps)
inputs.append(dep)
if android_lint_enable_check_dependencies:
args.add("--enable-check-dependencies")

Expand Down

0 comments on commit a1144c7

Please sign in to comment.