aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:58:24 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:58:24 +0000
commit643db1fa1d3f80103c81d37309b981014aafe586 (patch)
tree38613f139a45bebd54efb87e5733819c69d4ad14
parentcd0f78cc701c582469fe6adabd95b8efb7b36fee (diff)
parentdd55bb5b4b5eda54b8241811b6aa44bb71ee3c05 (diff)
downloadstrace-android14-mainline-media-swcodec-release.tar.gz
Change-Id: Ie77e229f4cd11812505f454b76de9056f9b4ebb7
-rw-r--r--Android.bp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 801cffa3..2bcca569 100644
--- a/Android.bp
+++ b/Android.bp
@@ -170,6 +170,7 @@ cc_binary {
"renameat.c",
"resource.c",
"retval.c",
+ "riscv.c",
"rtc.c",
"rtnl_addr.c",
"rtnl_addrlabel.c",
@@ -252,6 +253,7 @@ cc_binary {
"-Werror",
"-Wno-initializer-overrides",
"-Wno-missing-field-initializers",
+ "-Wno-nonnull",
"-Wno-pointer-arith",
"-Wno-unused-parameter",
"-Wno-sign-compare",
@@ -292,6 +294,14 @@ cc_binary {
"linux",
],
},
+ riscv64: {
+ cflags: ["-DRISCV=1"],
+
+ local_include_dirs: [
+ "linux/riscv",
+ "linux",
+ ],
+ },
x86: {
cflags: ["-DI386=1"] + ["-DHAVE_STRUCT___OLD_KERNEL_STAT=1"],