summaryrefslogtreecommitdiff
path: root/python/binary.go
diff options
context:
space:
mode:
Diffstat (limited to 'python/binary.go')
-rw-r--r--python/binary.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/binary.go b/python/binary.go
index 99c625916..af29bb6b8 100644
--- a/python/binary.go
+++ b/python/binary.go
@@ -38,6 +38,7 @@ type bazelPythonBinaryAttributes struct {
Srcs bazel.LabelListAttribute
Deps bazel.LabelListAttribute
Python_version *string
+ Imports bazel.StringListAttribute
}
func pythonBinaryBp2Build(ctx android.TopDownMutatorContext, m *Module) {
@@ -75,6 +76,7 @@ func pythonBinaryBp2Build(ctx android.TopDownMutatorContext, m *Module) {
Srcs: baseAttrs.Srcs,
Deps: baseAttrs.Deps,
Python_version: python_version,
+ Imports: baseAttrs.Imports,
}
props := bazel.BazelTargetModuleProperties{