From 29b7f71849ad7a911ad8f3861a578f3cb8435685 Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Wed, 20 Jan 2021 22:01:42 +0100 Subject: [PATCH 1/4] Add ffi_allocation_patch.dart to libraries.json --- shell/platform/fuchsia/flutter/kernel/libraries.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/platform/fuchsia/flutter/kernel/libraries.json b/shell/platform/fuchsia/flutter/kernel/libraries.json index 20eca04945d7c..c770f3b1e2455 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 +} From 1bb6668fd43e7d99dd945aa1785b26672d995813 Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Wed, 20 Jan 2021 22:02:09 +0100 Subject: [PATCH 2/4] Update libraries.yaml --- shell/platform/fuchsia/flutter/kernel/libraries.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/platform/fuchsia/flutter/kernel/libraries.yaml b/shell/platform/fuchsia/flutter/kernel/libraries.yaml index 36418bd781e8f..a6c85a970abcd 100644 --- a/shell/platform/fuchsia/flutter/kernel/libraries.yaml +++ b/shell/platform/fuchsia/flutter/kernel/libraries.yaml @@ -88,6 +88,7 @@ flutter_runner: 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" From 9b664ad08733445f44cd802874598f477dd51ebc Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Wed, 20 Jan 2021 22:02:37 +0100 Subject: [PATCH 3/4] Update libraries.json --- shell/platform/fuchsia/dart_runner/kernel/libraries.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/platform/fuchsia/dart_runner/kernel/libraries.json b/shell/platform/fuchsia/dart_runner/kernel/libraries.json index 3910d658dff70..7cd220be9bf73 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 +} From fe997cc0ac7f5d7574850f03546f061594cfd33a Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Wed, 20 Jan 2021 22:03:08 +0100 Subject: [PATCH 4/4] Update libraries.yaml --- shell/platform/fuchsia/dart_runner/kernel/libraries.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/platform/fuchsia/dart_runner/kernel/libraries.yaml b/shell/platform/fuchsia/dart_runner/kernel/libraries.yaml index 4953ac8864477..cc930a10b3ca6 100644 --- a/shell/platform/fuchsia/dart_runner/kernel/libraries.yaml +++ b/shell/platform/fuchsia/dart_runner/kernel/libraries.yaml @@ -88,6 +88,7 @@ dart_runner: 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"