From 74663e722ea905972e62c59e60cd0cbc97e8435f Mon Sep 17 00:00:00 2001 From: Leon Scroggins III Date: Thu, 30 Nov 2017 14:42:58 -0500 Subject: 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 Commit-Queue: Leon Scroggins --- gn/gn_to_bp.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gn/gn_to_bp.py') 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: { -- cgit v1.2.3