platform_build_soong/bazel
Chris Parsons 51f8c39261 bp2build: handle system_shared_libs
- If no system_shared_libs is specified, bp2build writes no attribute
value. In this case, the bazel library macros determine the correct
default behavior.
- If any system_shared_libs is specified for any variant, then bp2build
writes the value verbatim. This includes if an empty list is specified,
as this should override defaulting behavior.

Note this defaulting behavior is incomplete and will be incorrect in
corner cases. For example, if, in an Android.bp, system_shared_libs is
specified for os.linux_bionic but not for os.android, then the bazel
default for os.android will be incorrect. However, there are no current
modules in AOSP which fit this case.

As a related fix, supports static struct for cc_library_static.

Also, removes some elements from the bp2build denylist.

Test: mixed_droid CI
Change-Id: Iee5feeaaf05e8e7209c7a90c913173832ad7bf91
2021-08-09 11:41:09 -04:00
..
cquery Support cc_library_shared for mixed builds 2021-06-15 12:40:28 +00:00
Android.bp Use maps in bazel *attribute types 2021-06-03 17:37:56 -04:00
aquery.go Handle simple symlinks in mixed builds 2021-06-09 10:40:32 -04:00
aquery_test.go Handle simple symlinks in mixed builds 2021-06-09 10:40:32 -04:00
configurability.go bp2build: handle system_shared_libs 2021-08-09 11:41:09 -04:00
constants.go Dump bazel product config in Soong 2021-05-19 17:38:56 -04:00
properties.go bp2build: handle system_shared_libs 2021-08-09 11:41:09 -04:00
properties_test.go Extract function to handle configurable excludes 2021-06-04 10:15:34 -04:00