Skip to content

Commit

Permalink
Pass tags to android sandwich (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bencodes authored Apr 25, 2021
1 parent f695c2e commit 626d197
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kotlin/internal/jvm/android.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def _kt_android_artifact(
kotlinc_opts = None,
javac_opts = None,
enable_data_binding = False,
tags = [],
**kwargs):
"""Delegates Android related build attributes to the native rules but uses the Kotlin builder to compile Java and
Kotlin srcs. Returns a sequence of labels that a wrapping macro should export.
Expand All @@ -44,6 +45,7 @@ def _kt_android_artifact(
exports = base_deps,
deps = deps if enable_data_binding else [],
enable_data_binding = enable_data_binding,
tags = tags,
**kwargs
)
_kt_jvm_library(
Expand All @@ -57,6 +59,7 @@ def _kt_android_artifact(
visibility = ["//visibility:private"],
kotlinc_opts = kotlinc_opts,
javac_opts = javac_opts,
tags = tags,
)
return [base_name, kt_name]

Expand Down

0 comments on commit 626d197

Please sign in to comment.