Add -Wno-invalid-offsetof to Mac and iOS builds too.
authormtklein <mtklein@chromium.org>
Tue, 7 Oct 2014 16:54:18 +0000 (09:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 7 Oct 2014 16:54:18 +0000 (09:54 -0700)
commit38ba4e0588bc01dedbe8b14cf990a6f4ffe92fc7
treee3a2b5899e890e5f31c177a2eb22bb366093163e
parentfb1fe4f51820731f557e765f8c71cba9a0d28048
Add -Wno-invalid-offsetof to Mac and iOS builds too.

We use this on Linux already, but for whatever reason wasn't a problem on iOS
until using it in SkPaint.  Mac 10.7 and 10.8 are showing this warning too,
but seems -Werror is not enabled.

CQ_EXTRA_TRYBOTS=tryserver.skia:Build-Mac10.7-Clang-Arm7-Release-iOS-Trybot

BUG=skia:

Review URL: https://codereview.chromium.org/637593002
gyp/common_conditions.gypi