Skip to content

Commit f1748f1

Browse files
committed
Disable hand-coded assembly in boringssl for armv6 and armv5te
related #25562 [email protected] Review URL: https://codereview.chromium.org/1613233006 .
1 parent 001f64b commit f1748f1

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

third_party/boringssl/boringssl_configurations.gypi

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,27 @@
6666
'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror off
6767
},
6868
},
69+
# Disable hand-coded assembly routines on ARMv6 and ARMv5TE.
70+
'Dart_armv6_Base': {
71+
'abstract': 1,
72+
'defines': [
73+
'OPENSSL_NO_ASM',
74+
],
75+
},
76+
'Dart_armv5te_Base': {
77+
'abstract': 1,
78+
'defines': [
79+
'OPENSSL_NO_ASM',
80+
],
81+
},
82+
# TODO(24321): Also disable temporarily on arm64. Reenable after the next
83+
# roll.
84+
'Dart_arm64_Base': {
85+
'abstract': 1,
86+
'defines': [
87+
'OPENSSL_NO_ASM',
88+
],
89+
},
6990
# When being built for Android nss expects __linux__ to be defined.
7091
'Dart_Android_Base': {
7192
'target_conditions': [
@@ -96,4 +117,4 @@
96117
},
97118
},
98119
},
99-
}
120+
}

0 commit comments

Comments
 (0)