summaryrefslogtreecommitdiff
path: root/profcollectd
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2023-01-10 16:08:18 -0800
committerColin Cross <ccross@android.com>2023-01-10 16:14:49 -0800
commit2c0866219d85edc0fe0491a50b53462c1b8b6301 (patch)
treea9ac7ac4d468098de6cc1dbff6529517a2b7fbee /profcollectd
parentfd31e824edfb7308a1594349d81f822ffc9c5879 (diff)
downloadextras-2c0866219d85edc0fe0491a50b53462c1b8b6301.tar.gz
Disable profcollectd for riscv64
profcollectd depends on libprofcollectd from simplerperf, which is not compiled for riscv64 due to the dependency on an old version of LLVM. Disable profcollectd too. Test: lunch aosp_riscv64-userdebug && m Change-Id: I4cf07492530d10fd372f9df752441e85d6720d67
Diffstat (limited to 'profcollectd')
-rw-r--r--profcollectd/Android.bp14
1 files changed, 14 insertions, 0 deletions
diff --git a/profcollectd/Android.bp b/profcollectd/Android.bp
index 122e4f61..787ca22b 100644
--- a/profcollectd/Android.bp
+++ b/profcollectd/Android.bp
@@ -31,9 +31,21 @@ license {
],
}
+rust_defaults {
+ name: "profcollectd_defaults",
+ arch: {
+ riscv64: {
+ // libprofcollectd doesn't build for riscv64
+ enabled: false,
+ },
+ },
+}
+
rust_binary {
name: "profcollectctl",
+ defaults: ["profcollectd_defaults"],
+
srcs: ["profcollectctl.rs"],
rustlibs: [
@@ -45,6 +57,8 @@ rust_binary {
rust_binary {
name: "profcollectd",
+ defaults: ["profcollectd_defaults"],
+
srcs: ["profcollectd.rs"],
rustlibs: [