Use -Werror in art

* These targets missed -Werror in cflags.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Icd2ad147794b2710ab745f8041ce43b4cc6cf750
diff --git a/dexdump/Android.bp b/dexdump/Android.bp
index 60ce363..705043b 100644
--- a/dexdump/Android.bp
+++ b/dexdump/Android.bp
@@ -22,7 +22,7 @@
         "dexdump_main.cc",
         "dexdump.cc",
     ],
-    cflags: ["-Wall"],
+    cflags: ["-Wall", "-Werror"],
     shared_libs: [
         "libart",
         "libbase",
diff --git a/dexlist/Android.bp b/dexlist/Android.bp
index 52b1ee9..03943bf 100644
--- a/dexlist/Android.bp
+++ b/dexlist/Android.bp
@@ -16,7 +16,7 @@
     name: "dexlist",
     host_supported: true,
     srcs: ["dexlist.cc"],
-    cflags: ["-Wall"],
+    cflags: ["-Wall", "-Werror"],
     shared_libs: ["libart"],
 }
 
diff --git a/tools/dmtracedump/Android.bp b/tools/dmtracedump/Android.bp
index 4f942bd..9f207e9 100644
--- a/tools/dmtracedump/Android.bp
+++ b/tools/dmtracedump/Android.bp
@@ -23,6 +23,7 @@
         "-O0",
         "-g",
         "-Wall",
+        "-Werror",
     ],
     target: {
         windows: {
@@ -40,5 +41,6 @@
         "-O0",
         "-g",
         "-Wall",
+        "-Werror",
     ],
 }