diff options
author | Aleksei Vetrov <vvvvvv@google.com> | 2023-11-10 18:38:18 +0000 |
---|---|---|
committer | Matthias Männich <maennich@google.com> | 2023-11-14 17:43:04 +0000 |
commit | b4bb3d98fc28f04f974f0f1d7d19c6faab5dd552 (patch) | |
tree | 0a2afb8ccd0f0b2ec9dc770c4bce3e42e2e54440 | |
parent | 3f52a5b5aeea1f0cda64db8780648b9e0bd72701 (diff) | |
download | libbpf-b4bb3d98fc28f04f974f0f1d7d19c6faab5dd552.tar.gz |
elfutils: refactor transitive dependencies
Soong doesn't have propagation for static library dependencies.
Add "elfutils_transitive_defaults" to have "static_libs" that are
applied to all static libraries that use elfutils.
This have to be included explicitly by all elfutils users.
Bug: 169779783
Bug: 309972007
Change-Id: I9589edffa7410581a52790f69729a58bbda711e0
Signed-off-by: Aleksei Vetrov <vvvvvv@google.com>
-rw-r--r-- | Android.bp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -57,6 +57,7 @@ genrule { cc_library_static { name: "libbpf", + defaults: ["elfutils_transitive_defaults"], host_supported: true, srcs: [ "src/*.c", @@ -97,6 +98,7 @@ cc_library_static { cc_library { name: "libbpf_minimal", + defaults: ["elfutils_transitive_defaults"], vendor_available: true, native_bridge_supported: true, srcs: [ |