summaryrefslogtreecommitdiff
path: root/python/bp2build.go
diff options
context:
space:
mode:
Diffstat (limited to 'python/bp2build.go')
-rw-r--r--python/bp2build.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/bp2build.go b/python/bp2build.go
index cd3f2a1a8..60cabc410 100644
--- a/python/bp2build.go
+++ b/python/bp2build.go
@@ -223,7 +223,8 @@ func (p *PythonTestModule) ConvertWithBp2build(ctx android.TopDownMutatorContext
props := bazel.BazelTargetModuleProperties{
// Use the native py_binary rule.
- Rule_class: "py_test",
+ Rule_class: "py_test",
+ Bzl_load_location: "//build/bazel/rules/python:py_test.bzl",
}
ctx.CreateBazelTargetModule(props, android.CommonAttributes{