summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh2017-10-06 16:12:05 -0500
committerandroid-build-merger2017-10-06 16:12:05 -0500
commit90c4e74b0bd95dd25edcd633f3c900e5814d926a (patch)
treeda72f7e3c3768bda21dd9f9c55c9af8bea0fa437
parent1c7bb4e57e4d3e4ea42570985ed322f8f1b79d93 (diff)
parent3f48bbcacb57edb90acd983f0479b36d9745891b (diff)
downloadplatform-system-libvintf-90c4e74b0bd95dd25edcd633f3c900e5814d926a.tar.gz
platform-system-libvintf-90c4e74b0bd95dd25edcd633f3c900e5814d926a.tar.xz
platform-system-libvintf-90c4e74b0bd95dd25edcd633f3c900e5814d926a.zip
Use -Werror in system/libvintf
am: 3f48bbcacb Change-Id: Ie3a3ef649847e0aa080f6a7f7778db6e3c9ed3f3
-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: [