Disable struct padding warning/error
Adds -Wno-padded, which was triggering on 64-bit devices
Change-Id: If27bac27881f2081a222b32213901f5087554b07
(cherry picked from commit 4e84bd310c876e1450077959333c87e6e83dbf63)
diff --git a/libs/ui/Android.mk b/libs/ui/Android.mk
index 72430d2..1ce8626 100644
--- a/libs/ui/Android.mk
+++ b/libs/ui/Android.mk
@@ -30,6 +30,9 @@
# that they're non-portable as long as they're consistent within one execution
LOCAL_CPPFLAGS += -Wno-four-char-constants
+# Don't warn about struct padding
+LOCAL_CPPFLAGS += -Wno-padded
+
LOCAL_SRC_FILES := \
Fence.cpp \
FramebufferNativeWindow.cpp \