summaryrefslogtreecommitdiff
path: root/profcollectd
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2020-11-04 09:40:37 +0800
committerYi Kong <yikong@google.com>2020-11-04 09:40:37 +0800
commit9f8c7a48df6a9016c2d23156dfb48a1b8bd22102 (patch)
tree1df8ed7406dcf4d0f1d253d80cebdbc80fc553f4 /profcollectd
parentaa2933e805e864788e6550e65d62e9386d0c158c (diff)
downloadextras-9f8c7a48df6a9016c2d23156dfb48a1b8bd22102.tar.gz
profcollectd: Use rlib version of libprofcollectd_rust instead of dylib
This reduces binary size because libprofcollectd_rust is a simple wrapper of a C library. Test: presubmit Bug: 163175424 Change-Id: I1356728e619d8fdc39eac7f61277672c9ce82f1d
Diffstat (limited to 'profcollectd')
-rw-r--r--profcollectd/Android.bp4
1 files changed, 2 insertions, 2 deletions
diff --git a/profcollectd/Android.bp b/profcollectd/Android.bp
index 16ffb54a..a3c297bc 100644
--- a/profcollectd/Android.bp
+++ b/profcollectd/Android.bp
@@ -19,7 +19,7 @@ rust_binary {
srcs: ["profcollectctl.rs"],
- rustlibs: ["libprofcollectd_rust"],
+ rlibs: ["libprofcollectd_rust"],
}
rust_binary {
@@ -27,7 +27,7 @@ rust_binary {
srcs: ["profcollectd.rs"],
- rustlibs: ["libprofcollectd_rust"],
+ rlibs: ["libprofcollectd_rust"],
init_rc: ["profcollectd.rc"],
}