Files
build_soong/cc
Spandan Das a99348dca4 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
2023-08-03 18:56:05 +00:00
..
2022-10-05 09:06:49 +09:00
2022-10-10 15:33:50 +00:00
2023-04-14 14:31:14 -07:00
2023-05-19 20:31:32 +00:00
2023-03-12 16:31:10 +09:00
2023-05-19 20:31:32 +00:00
2023-05-19 20:31:32 +00:00
2023-05-23 15:53:10 -04:00
2022-12-01 20:01:03 +00:00
2023-07-15 03:18:06 +09:00
2023-05-19 20:31:32 +00:00
2023-06-22 08:18:33 -07:00
2023-05-15 19:07:58 +00:00
2023-06-22 08:18:33 -07:00
2023-07-20 18:17:04 +00:00
2023-05-19 20:31:32 +00:00
2023-07-18 15:07:24 -04:00
2023-05-19 20:31:32 +00:00