69fa9f9e5e
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 |
||
---|---|---|
.. | ||
Android.bp | ||
androidbp_to_build_templates.go | ||
apex_conversion_test.go | ||
bp2build.go | ||
build_conversion.go | ||
build_conversion_test.go | ||
bzl_conversion.go | ||
bzl_conversion_test.go | ||
cc_library_conversion_test.go | ||
cc_library_headers_conversion_test.go | ||
cc_library_static_conversion_test.go | ||
cc_object_conversion_test.go | ||
compatibility.go | ||
configurability.go | ||
constants.go | ||
conversion.go | ||
conversion_test.go | ||
metrics.go | ||
python_binary_conversion_test.go | ||
sh_conversion_test.go | ||
symlink_forest.go | ||
testing.go |