summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoung Kim <kiyoungkim@google.com>2023-12-07 17:11:41 +0900
committerKiyoung Kim <kiyoungkim@google.com>2023-12-07 17:14:37 +0900
commit1e8ecc08e587395613a017ed0033b87a5a0df39a (patch)
treeca30cd9e0e01a2608db7e5fffa24ead1526cedec
parent8f6836342fe694ac28bfa940a57436916abf90aa (diff)
downloadrs-1e8ecc08e587395613a017ed0033b87a5a0df39a.tar.gz
Handle libcompiler_rt as runtime_libs
libcompiler_rt is described as 'required' of libRS_internal, but this fails to copy vendor variant of libcompiler_rt with dependency because 'required' only works on system variant. This change moves libcompiler_rt as 'runtime_libs' of libRS_internal, so it would work with vendor variant also. Bug: 314835166 Test: libcompiler_rt.so presents in /vendor/lib64 of mokey build Change-Id: I917e2b67265cec3ab19dcbabadd0994074ab59f4
-rw-r--r--Android.bp8
1 files changed, 6 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 04b2a06d..0cd395b5 100644
--- a/Android.bp
+++ b/Android.bp
@@ -243,13 +243,17 @@ cc_library_shared {
static_libs: ["libarect"],
- // These runtime modules, including libcompiler_rt.so, are required for
- // RenderScript.
+ // These runtime modules are required for RenderScript.
required: [
"libclcore.bc",
"libclcore_debug.bc",
"libclcore_debug_g.bc",
"libclcore_g.bc",
+ ],
+
+ // Some runtime modules, such as libcompiler_rt, are also
+ // required from non-system variant.
+ runtime_libs: [
"libcompiler_rt",
],