diff options
| author | 2022-03-18 14:11:07 +0000 | |
|---|---|---|
| committer | 2022-03-30 19:19:13 +0000 | |
| commit | 77267c7d9c998ebe8b651bfd0e82edbca21d16eb (patch) | |
| tree | 766cc947fb33521115e152dd37ec840dec6bfbf4 /java/java.go | |
| parent | 5f83b491b4b14bf17b9dd7fbc3ec9d0b061190de (diff) | |
add plugins to javaLibraryAttributes
Test: go test ./bp2build
Change-Id: I8e4c3f373c62c60ea5013cd8c585915a366c1f81
Diffstat (limited to 'java/java.go')
| -rw-r--r-- | java/java.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go index 831d60731..1b6e559b3 100644 --- a/java/java.go +++ b/java/java.go @@ -2026,6 +2026,7 @@ func addCLCFromDep(ctx android.ModuleContext, depModule android.Module, type javaCommonAttributes struct { Srcs bazel.LabelListAttribute + Plugins bazel.LabelListAttribute Javacopts bazel.StringListAttribute } @@ -2061,6 +2062,9 @@ func (m *Library) convertLibraryAttrsBp2Build(ctx android.TopDownMutatorContext) commonAttrs := &javaCommonAttributes{ Srcs: srcPartitions[javaSrcPartition], + Plugins: bazel.MakeLabelListAttribute( + android.BazelLabelForModuleDeps(ctx, m.properties.Plugins), + ), } if m.properties.Javacflags != nil { |