Build with -Wall and -Werror.

Test: pass
Change-Id: I0b14bfca491b67883bdff079b2e863db4691b635
diff --git a/base/Android.bp b/base/Android.bp
index 635b098..321f499 100644
--- a/base/Android.bp
+++ b/base/Android.bp
@@ -14,6 +14,7 @@
 
 cc_library_shared {
     name: "libhidlbase",
+    cflags: libhidl_flags,
     shared_libs: [
         "libbase",
         "libcutils",