Files
build_soong/android
Chris Parsons 69fa9f9e5e 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
2021-07-13 14:06:14 -04:00
..
2021-05-11 08:28:49 +01:00
2021-06-18 05:26:39 +00:00
2021-07-13 14:06:14 -04:00
2021-03-17 16:35:13 +01:00
2021-04-21 10:16:31 +01:00
2020-06-04 01:26:16 +01:00
2021-05-11 08:28:49 +01:00
2021-01-07 17:19:27 -08:00
2021-07-09 23:54:01 +01:00
2021-06-18 05:25:44 +00:00
2021-03-02 20:17:19 +00:00
2020-12-01 16:22:16 -08:00
2021-07-09 23:54:01 +01:00
2021-03-28 22:06:33 +01:00
2021-03-28 22:06:33 +01:00
2021-06-28 23:58:12 +00:00
2021-03-11 08:37:01 +01:00