summaryrefslogtreecommitdiff
path: root/python/bp2build.go
diff options
context:
space:
mode:
author yike <yikezh@google.com> 2023-07-26 22:19:09 +0000
committer yike <yikezh@google.com> 2023-08-01 18:57:59 +0000
commit1aaeea39da72a108f4b0870f95a215fe0c1c77b2 (patch)
tree80b36ccba590cd3e9de9758413769ec1bb34d82b /python/bp2build.go
parent4b4d61fa2e67ae831428374e1bb2e95d1bdd9a09 (diff)
Convert merge_annotation_zips_test to b test
Test: b test //frameworks/base/api:merge_annotation_zips_test Bug: 293225210 Change-Id: Ia53b4168894b5c70c843ca315d963fa905ef582f
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{