aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksei Vetrov <vvvvvv@google.com>2023-11-10 14:43:55 +0000
committerMatthias Männich <maennich@google.com>2023-11-14 17:42:19 +0000
commit82a6e19c8e8a4f0c6fe065e8d4b0f67ee122551b (patch)
tree257255213a3bbc2d9d45ad8404f1960641eec158
parent017051790348494a1a03b79d21d3302c93f0ed8f (diff)
downloaddwarves-master.tar.gz
elfutils: refactor transitive dependenciesHEADmastermain
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: I6c21dc649616fc13822a851be8317f610e6637c8 Signed-off-by: Aleksei Vetrov <vvvvvv@google.com>
-rw-r--r--Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 2c50394..266bba9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,6 +14,7 @@
cc_defaults {
name: "dwarves_defaults",
+ defaults: ["elfutils_transitive_defaults"],
cflags: [
"-DDWARVES_MAJOR_VERSION=1",
"-DDWARVES_MINOR_VERSION=25",
@@ -49,7 +50,6 @@ cc_library_host_static {
"libbpf",
"libdw",
"libelf",
- "libz",
],
}