add ffi_allocation_patch.dart to libraries.yaml (#23808) (#23821)

Co-authored-by: Daco Harkes <dacoharkes@google.com>
diff --git a/shell/platform/fuchsia/dart_runner/kernel/libraries.json b/shell/platform/fuchsia/dart_runner/kernel/libraries.json
index 3910d65..7cd220b 100644
--- a/shell/platform/fuchsia/dart_runner/kernel/libraries.json
+++ b/shell/platform/fuchsia/dart_runner/kernel/libraries.json
@@ -83,6 +83,7 @@
         "uri": "../../../../../../third_party/dart/sdk/lib/ffi/ffi.dart",
         "patches": [
           "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_patch.dart",
+          "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_allocation_patch.dart",
           "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_dynamic_library_patch.dart",
           "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_native_type_patch.dart",
           "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_struct_patch.dart"
@@ -162,4 +163,4 @@
       }
     }
   }
-}
\ No newline at end of file
+}
diff --git a/shell/platform/fuchsia/dart_runner/kernel/libraries.yaml b/shell/platform/fuchsia/dart_runner/kernel/libraries.yaml
index 4953ac8..cc930a1 100644
--- a/shell/platform/fuchsia/dart_runner/kernel/libraries.yaml
+++ b/shell/platform/fuchsia/dart_runner/kernel/libraries.yaml
@@ -88,6 +88,7 @@
       uri: "../../../../../../third_party/dart/sdk/lib/ffi/ffi.dart"
       patches:
         - "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_patch.dart"
+        - "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_allocation_patch.dart"
         - "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_dynamic_library_patch.dart"
         - "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_native_type_patch.dart"
         - "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_struct_patch.dart"
diff --git a/shell/platform/fuchsia/flutter/kernel/libraries.json b/shell/platform/fuchsia/flutter/kernel/libraries.json
index 20eca04..c770f3b 100644
--- a/shell/platform/fuchsia/flutter/kernel/libraries.json
+++ b/shell/platform/fuchsia/flutter/kernel/libraries.json
@@ -83,6 +83,7 @@
         "uri": "../../../../../../third_party/dart/sdk/lib/ffi/ffi.dart",
         "patches": [
           "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_patch.dart",
+          "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_allocation_patch.dart",
           "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_dynamic_library_patch.dart",
           "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_native_type_patch.dart",
           "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_struct_patch.dart"
@@ -165,4 +166,4 @@
       }
     }
   }
-}
\ No newline at end of file
+}
diff --git a/shell/platform/fuchsia/flutter/kernel/libraries.yaml b/shell/platform/fuchsia/flutter/kernel/libraries.yaml
index 36418bd..a6c85a9 100644
--- a/shell/platform/fuchsia/flutter/kernel/libraries.yaml
+++ b/shell/platform/fuchsia/flutter/kernel/libraries.yaml
@@ -88,6 +88,7 @@
       uri: "../../../../../../third_party/dart/sdk/lib/ffi/ffi.dart"
       patches:
         - "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_patch.dart"
+        - "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_allocation_patch.dart"
         - "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_dynamic_library_patch.dart"
         - "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_native_type_patch.dart"
         - "../../../../../../third_party/dart/sdk/lib/_internal/vm/lib/ffi_struct_patch.dart"