aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/gn_to_bp.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn/gn_to_bp.py')
-rw-r--r--gn/gn_to_bp.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gn/gn_to_bp.py b/gn/gn_to_bp.py
index 7505d7247a..20260926a9 100644
--- a/gn/gn_to_bp.py
+++ b/gn/gn_to_bp.py
@@ -76,6 +76,10 @@ cc_library_static {
$x86_srcs
],
cflags: [
+ // Clang seems to think new/malloc will only be 4-byte aligned
+ // on x86 Android. We're pretty sure it's actually 8-byte
+ // alignment. tests/OverAlignedTest.cpp has more information,
+ // and should fail if we're wrong.
"-Wno-over-aligned"
],
},