From 01243368d7a5ef6100582c2efade729888d646f8 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Thu, 2 Jun 2022 12:11:12 -0700 Subject: Allowlist apexer for bp2build This also introduces a workaround for the fact that apexer depends on aapt2, but aapt2 doesn't build with bp2build yet. Aapt2 is removed from apexer's requirements during bp2build. Bug: 204244290 Test: ./build/bazel/ci/bp2build.sh Change-Id: I837597ce035c7d5c06e1a3957166583a7a94b5c7 --- python/binary.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/binary.go') 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{ -- cgit v1.2.3-59-g8ed1b