Merge "Explicitly generate _vendor library."
diff --git a/Android.bp b/Android.bp
index 211e13e..d0c31e9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -28,6 +28,10 @@
 // This configuration is inherited by all hidl-gen-generated modules.
 cc_defaults {
     name: "hidl-module-defaults",
+    cflags: [
+        "-Wall",
+        "-Werror",
+    ],
     product_variables: {
         debuggable: {
             cflags: ["-D__ANDROID_DEBUGGABLE__"]