summaryrefslogtreecommitdiffstats
path: root/trusty/libtrusty
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-11-01 21:23:58 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-11-01 21:23:58 +0000
commit6e28ff2ce6e7534ee117197872f1066cb8301b9f (patch)
treeb73d9878ea8643406a865e2f149df83aa6aa1d20 /trusty/libtrusty
parentdc991a7529693563dcebb070028be53693e70054 (diff)
parent57270f809a1fe3defa913b35a0fc03c589211bdf (diff)
downloadcore-6e28ff2ce6e7534ee117197872f1066cb8301b9f.tar.gz
core-6e28ff2ce6e7534ee117197872f1066cb8301b9f.tar.bz2
core-6e28ff2ce6e7534ee117197872f1066cb8301b9f.zip
Merge "Use -Werror in system/core" am: 4ef714eae0
am: 57270f809a Change-Id: If5d4ec1749ff2acbce781b0b6678a53fc7169d90
Diffstat (limited to 'trusty/libtrusty')
-rw-r--r--trusty/libtrusty/Android.bp1
-rw-r--r--trusty/libtrusty/tipc-test/Android.bp1
2 files changed, 2 insertions, 0 deletions
diff --git a/trusty/libtrusty/Android.bp b/trusty/libtrusty/Android.bp
index 88d624048..c48deed1c 100644
--- a/trusty/libtrusty/Android.bp
+++ b/trusty/libtrusty/Android.bp
@@ -22,6 +22,7 @@ cc_library {
srcs: ["trusty.c"],
export_include_dirs: ["include"],
+ cflags: ["-Wall", "-Werror"],
shared_libs: ["liblog"],
}
diff --git a/trusty/libtrusty/tipc-test/Android.bp b/trusty/libtrusty/tipc-test/Android.bp
index 25a3cb05f..1e8467f0f 100644
--- a/trusty/libtrusty/tipc-test/Android.bp
+++ b/trusty/libtrusty/tipc-test/Android.bp
@@ -25,4 +25,5 @@ cc_test {
"liblog",
],
gtest: false,
+ cflags: ["-Wall", "-Werror"],
}