summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh2017-10-06 16:17:07 -0500
committerandroid-build-merger2017-10-06 16:17:07 -0500
commitbcfa1767975a059dbb99ad06f4e98bfac7c5a29a (patch)
treeda72f7e3c3768bda21dd9f9c55c9af8bea0fa437
parent28e5dcaa13bfd189c6f05fc4be7dd231034e849e (diff)
parentea2060afeeef0433d1ae65d967713d06afe288d9 (diff)
downloadplatform-system-libvintf-bcfa1767975a059dbb99ad06f4e98bfac7c5a29a.tar.gz
platform-system-libvintf-bcfa1767975a059dbb99ad06f4e98bfac7c5a29a.tar.xz
platform-system-libvintf-bcfa1767975a059dbb99ad06f4e98bfac7c5a29a.zip
Use -Werror in system/libvintf am: 3f48bbcacb am: 90c4e74b0b
am: ea2060afee Change-Id: Ife5d5af3d47df128aa9857a9c754ee0974a13a01
-rw-r--r--Android.bp1
-rw-r--r--test/Android.bp3
2 files changed, 4 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index c2419e4..7b6213e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -116,6 +116,7 @@ cc_binary_host {
116 116
117cc_library { 117cc_library {
118 name: "libvintftest", 118 name: "libvintftest",
119 defaults: ["libvintf-defaults"],
119 host_supported: true, 120 host_supported: true,
120 shared_libs: [ 121 shared_libs: [
121 "libbase", 122 "libbase",
diff --git a/test/Android.bp b/test/Android.bp
index c5aa618..c098152 100644
--- a/test/Android.bp
+++ b/test/Android.bp
@@ -14,6 +14,7 @@
14 14
15cc_test { 15cc_test {
16 name: "libvintf_test", 16 name: "libvintf_test",
17 defaults: ["libvintf-defaults"],
17 host_supported: true, 18 host_supported: true,
18 gtest: false, 19 gtest: false,
19 srcs: ["main.cpp"], 20 srcs: ["main.cpp"],
@@ -29,6 +30,7 @@ cc_test {
29 cflags: [ 30 cflags: [
30 "-O0", 31 "-O0",
31 "-g", 32 "-g",
33 "-Wno-error=unused-function",
32 ], 34 ],
33 target: { 35 target: {
34 host: { 36 host: {
@@ -39,6 +41,7 @@ cc_test {
39 41
40cc_test { 42cc_test {
41 name: "vintf_object_test", 43 name: "vintf_object_test",
44 defaults: ["libvintf-defaults"],
42 host_supported: true, 45 host_supported: true,
43 native_coverage: true, 46 native_coverage: true,
44 srcs: [ 47 srcs: [