Add libdexfile runtime dependency of libdexfile_support (reland).
Necessary since static_libs doesn't propagate transitive dependencies
in Soong.
Test: m droid
Bug: 197856821
Bug: 169779783
Change-Id: I749b541781511f90fe7342054792820b19a24d56
diff --git a/simpleperf/Android.bp b/simpleperf/Android.bp
index e1b4626..d91e1e8 100644
--- a/simpleperf/Android.bp
+++ b/simpleperf/Android.bp
@@ -167,6 +167,9 @@
"libc++fs",
"libdexfile_support",
],
+ runtime_libs: [
+ "libdexfile", // libdexfile_support dependency
+ ],
},
host: {
static_libs: [
@@ -287,6 +290,7 @@
linux: {
// See note for libdexfile_static in simpleperf_ndk.
static_libs: ["libdexfile_support"],
+ runtime_libs: ["libdexfile"], // libdexfile_support dependency
},
},
}