Added extra Werror compiler flags that are globally enabled
by default only on certain targets (e.g., arm64).
Thus, we can catch build errors before submitting the code.
Bug:
26879229
Change-Id: I8b1dae6f61219d2274cd2df019464315d4172da2
-fvisibility=hidden \
-Wall \
-Wunused-but-set-variable \
+ -Werror=format-security \
+ -Werror=pointer-to-int-cast \
+ -Werror=int-to-pointer-cast \
+ -Werror=implicit-function-declaration \
-UNDEBUG \
-DLOG_NDEBUG=1