summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2023-08-01 23:10:05 +0000
committer Spandan Das <spandandas@google.com> 2023-08-03 18:56:05 +0000
commita99348dca45cb08c0876dc6c06b9c11096a7523f (patch)
treeac6d5c0dc5b6c5ab2f9c7cb71b99405bfaaa5a0c /java/java.go
parent2666c93fc1cac7ff13599179fad5f5a02632e5a9 (diff)
cc Bp2build support for genrules that generate .proto file
If `srcs` contains a gensrcs/genrule module, the current bp2build module will put it in the catch-all `srcs` attribute. This is reserved for .cpp sources, so if the genrule produces a .proto/.aidl/... file, this will fail. This handles genrules that produce .proto files. To implement this, this creates an additional partition that detects if the other module is a genrule/gensrc that produces .proto files. If true, it will append it to the proto partition. This CL does not handle - genrule that produce .c/.aidl/.yacc/.... files. They will continue to be partitioned into the catch-all partition - java modules Test: unit tests Test: TH Bug: 293205700 Change-Id: Ib720fdf3a053ff5dd256e6faa632e3fa7776966d
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions