Index: runtime/BUILD.gn |
diff --git a/runtime/BUILD.gn b/runtime/BUILD.gn |
index ad030b8f02012dc0ae935e6df4cd6bf4b0a74dcf..e6794ec71696ac7e5ac5e63d8da733d578d7fc13 100644 |
--- a/runtime/BUILD.gn |
+++ b/runtime/BUILD.gn |
@@ -104,6 +104,11 @@ config("dart_config") { |
if (dart_target_arch != "") { |
if (dart_target_arch == "arm") { |
defines += [ "TARGET_ARCH_ARM" ] |
+ if (target_os == "mac" || target_os == "ios") { |
+ defines += [ "TARGET_ABI_IOS" ] |
+ } else { |
+ defines += [ "TARGET_ABI_EABI" ] |
+ } |
} else if (dart_target_arch == "arm64") { |
defines += [ "TARGET_ARCH_ARM64" ] |
} else if (dart_target_arch == "mips") { |