diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2022-01-16 14:01:36 -0800 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2022-01-16 14:01:36 -0800 |
commit | 5806f26e603150889d7b7e044cd8fb685c832f4e (patch) | |
tree | e60b0a64a2b342e96f6b886ec3e2e453e494e567 /libdexfile/Android.bp | |
parent | aa20688e701376b1a4cfffc6284721819806cb90 (diff) | |
parent | f9da627a42193f596d33d799bf323fced18214c5 (diff) |
Merge f9da627a42193f596d33d799bf323fced18214c5 on remote branch
Change-Id: Iaf48868208da271af8b4536f089c44bf4412cc9e
Diffstat (limited to 'libdexfile/Android.bp')
-rw-r--r-- | libdexfile/Android.bp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libdexfile/Android.bp b/libdexfile/Android.bp index 31cf19711d..47f2e29a58 100644 --- a/libdexfile/Android.bp +++ b/libdexfile/Android.bp @@ -162,6 +162,15 @@ gensrcs { art_cc_library { name: "libdexfile", + visibility: [ + // Allow libdexfile_support users to list this as a runtime_libs + // dependency - see comment for libdexfile_support. It shouldn't be used + // for any other purpose. + "//external/perfetto", + "//system/core/debuggerd", + "//system/extras/simpleperf", + "//system/unwinding/libunwindstack", + ], defaults: [ "libdexfile_defaults", "libart_nativeunwind_defaults", @@ -369,6 +378,14 @@ art_cc_test { // dependency on dex file logic. It is therefore safe to use from binaries // compiled without dex file support, given they won't encounter any dex file // stack frames. +// +// IMPORTANT: When adding a static_libs dependency on this library, please +// remember to also add a corresponding +// +// runtime_libs: ["libdexfile"], +// +// That is necessary since Soong doesn't propagate dependencies transitively for +// static libraries (b/169779783). art_cc_library_static { name: "libdexfile_support", visibility: ["//visibility:public"], |