aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/gn_to_bp.py
diff options
context:
space:
mode:
authorGravatar Leon Scroggins III <scroggo@google.com>2017-11-30 14:42:58 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-30 20:08:38 +0000
commit74663e722ea905972e62c59e60cd0cbc97e8435f (patch)
tree98bd3f264d9f4b91d463d78608b152b521243744 /gn/gn_to_bp.py
parent384295bac27f12b2a18141274be991a02f7b64a3 (diff)
Add "-Wno-over-aligned" to Android.bp for x86 Android
Speculative fix for Android roll, broken here: ag/3293969. We used to make an exception for this warning on Skia builds, until I disabled it in https://skia-review.googlesource.com/c/skia/+/60530, because it no longer seemed necessary: Turning on most warnings without this exception in Android framework builds, as I did in https://skia-review.googlesource.com/55703 did not break Android. I'm not sure why Skia's waterfall did not show the problem, but this should fix it on the Android framework side. TBR=mtklein@chromium.org Change-Id: I04a5b013dd0ec8f162046388e89cf08cb9476bab Reviewed-on: https://skia-review.googlesource.com/78580 Reviewed-by: Leon Scroggins <scroggo@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'gn/gn_to_bp.py')
-rw-r--r--gn/gn_to_bp.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gn/gn_to_bp.py b/gn/gn_to_bp.py
index 239fb020fd..7505d7247a 100644
--- a/gn/gn_to_bp.py
+++ b/gn/gn_to_bp.py
@@ -75,6 +75,9 @@ cc_library_static {
srcs: [
$x86_srcs
],
+ cflags: [
+ "-Wno-over-aligned"
+ ],
},
x86_64: {