summaryrefslogtreecommitdiff
path: root/rust/coverage_test.go
diff options
context:
space:
mode:
author Chris Parsons <cparsons@google.com> 2021-07-13 11:47:44 -0400
committer Chris Parsons <cparsons@google.com> 2021-07-13 14:06:14 -0400
commit69fa9f9e5e2de130a910483be4738956fbf26c50 (patch)
treee9da5c4bc394b87a89ff519ae254257d8730ab94 /rust/coverage_test.go
parent73c7755ac97b19b63a5f466bbd6083cbe2415db3 (diff)
Seperate asflags and cflags
This fixes a bug which was a misunderstanding of soong properties: Soong's cflags pertain only to C and C++ language, whereas bazel's copts pertain to all three languages. This change ensures that asflags are added as specifically asflags, and the 'copts' for the static library macro pertains only to C and C++ languages. This requires a somewhat hacky workaround for asflags, however: Since assembly sources also need includepath-related flags, this duplicates these flags between copts and asflags. To reduce verbosity of bp2build-generated targets, this also ensures that asflags are omitted in cases where there are no assembly sources. Test: Mixed build droid CI Change-Id: Ic0babed1f90d6dc82e5788638681ce5b995043f8
Diffstat (limited to 'rust/coverage_test.go')
0 files changed, 0 insertions, 0 deletions