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-03-05 17:26:37 -08:00
2021-03-22 18:31:53 +00:00
2021-05-11 08:28:49 +01:00
2021-03-22 18:31:53 +00:00
2021-05-11 08:24:59 +01:00
2021-06-24 11:28:33 +09:00
2021-06-25 17:52:43 +00:00
2021-05-14 14:03:53 -07:00
2021-01-26 08:15:07 +01:00
2021-04-21 18:21:50 -04:00
2021-06-18 05:26:39 +00:00
2021-05-11 16:54:29 +02:00
2021-06-17 07:02:23 +00:00
2021-06-11 08:10:50 -04:00
2021-03-24 02:27:19 -04:00
2021-07-13 14:06:14 -04:00
2021-03-17 16:35:13 +01:00
2021-06-10 14:28:10 +01:00
2021-03-22 18:31:53 +00:00
2021-03-17 16:18:17 +00:00
2021-06-17 23:05:43 +01:00
2021-03-22 18:31:53 +00:00
2021-05-20 18:00:37 -07:00
2021-03-18 16:17:34 -07:00
2020-12-07 12:27:50 -08:00
2020-12-07 12:27:50 -08:00
2020-12-07 12:27:50 -08:00
2021-03-22 18:31:53 +00:00
2020-11-23 18:06:08 -08:00
2020-10-09 18:34:24 -07:00
2019-07-11 14:52:17 -07:00
2021-06-03 05:00:37 +00:00
2021-04-01 10:33:20 +01:00
2021-04-21 10:16:31 +01:00
2020-06-04 01:26:16 +01:00
2021-06-15 15:49:51 +02:00
2021-03-22 18:31:53 +00:00
2021-01-06 20:48:24 -08:00
2021-05-11 08:28:49 +01:00
2021-05-11 08:24:59 +01:00
2021-05-11 08:24:59 +01:00
2021-05-11 08:24:59 +01:00
2021-05-11 08:28:49 +01:00
2020-12-07 10:23:54 -08:00
2021-01-07 17:19:27 -08:00
2020-02-25 20:50:00 +00:00
2021-07-12 20:15:06 +01:00
2021-07-13 13:31:04 +00:00
2021-03-22 18:31:53 +00:00
2021-07-02 07:36:07 -04:00
2021-07-09 23:54:01 +01:00
2021-07-09 23:54:01 +01:00
2021-04-27 02:56:03 +00:00
2021-06-18 05:25:44 +00:00
2021-03-22 18:31:53 +00:00
2020-11-17 10:50:19 -08:00
2020-03-03 13:50:53 -08:00
2020-10-09 18:34:24 -07:00
2019-07-18 14:28:14 -07:00
2021-05-06 11:59:38 -07:00
2021-03-18 16:17:34 -07:00
2021-03-22 18:31:53 +00:00
2021-03-02 20:17:19 +00:00
2021-03-23 04:21:38 +00:00
2021-05-11 11:56:54 +09:00
2021-07-09 23:54:01 +01:00
2021-04-21 18:21:50 -04:00
2021-07-12 20:15:06 +01:00
2021-07-12 20:15:06 +01:00
2020-11-23 00:29:18 -05:00
2020-12-17 19:31:17 +09:00
2021-06-24 13:34:18 -04:00
2021-06-24 13:34:18 -04:00
2020-12-01 16:22:16 -08:00
2021-03-30 12:22:12 +00:00
2021-03-31 12:26:01 -04:00
2021-04-21 11:46:50 -07:00
2021-04-21 11:46:50 -07:00
2021-03-03 09:14:22 +01:00
2021-04-15 16:53:23 +09:00
2021-06-25 16:20:19 +01:00
2021-03-22 18:31:53 +00:00
2021-01-07 17:19:27 -08:00
2020-10-19 01:26:50 -04:00
2021-03-22 18:31:53 +00:00
2021-01-21 14:25:20 -05:00
2021-04-22 10:20:13 +01:00
2021-03-16 16:52:56 -07: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-03-22 18:31:53 +00:00
2021-06-28 23:58:12 +00:00
2021-03-22 18:31:53 +00:00
2021-03-09 14:14:48 +00:00
2021-03-11 08:37:01 +01:00