Skip to content

Commit 43fecc4

Browse files
committed
Update generated build files in demos
1 parent 4be4332 commit 43fecc4

File tree

50 files changed

+20
-211
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+20
-211
lines changed

demos/benchmarks/linux/flutter/generated_plugin_registrant.cc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@
66

77
#include "generated_plugin_registrant.h"
88

9-
#include <powersync_flutter_libs/powersync_flutter_libs_plugin.h>
10-
#include <sqlite3_flutter_libs/sqlite3_flutter_libs_plugin.h>
119

1210
void fl_register_plugins(FlPluginRegistry* registry) {
13-
g_autoptr(FlPluginRegistrar) powersync_flutter_libs_registrar =
14-
fl_plugin_registry_get_registrar_for_plugin(registry, "PowersyncFlutterLibsPlugin");
15-
powersync_flutter_libs_plugin_register_with_registrar(powersync_flutter_libs_registrar);
16-
g_autoptr(FlPluginRegistrar) sqlite3_flutter_libs_registrar =
17-
fl_plugin_registry_get_registrar_for_plugin(registry, "Sqlite3FlutterLibsPlugin");
18-
sqlite3_flutter_libs_plugin_register_with_registrar(sqlite3_flutter_libs_registrar);
1911
}

demos/benchmarks/linux/flutter/generated_plugins.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
#
44

55
list(APPEND FLUTTER_PLUGIN_LIST
6-
powersync_flutter_libs
7-
sqlite3_flutter_libs
86
)
97

108
list(APPEND FLUTTER_FFI_PLUGIN_LIST
9+
jni
1110
)
1211

1312
set(PLUGIN_BUNDLED_LIBRARIES)

demos/benchmarks/macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
import FlutterMacOS
66
import Foundation
77

8-
import powersync_flutter_libs
9-
import sqlite3_flutter_libs
108

119
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
12-
PowersyncFlutterLibsPlugin.register(with: registry.registrar(forPlugin: "PowersyncFlutterLibsPlugin"))
13-
Sqlite3FlutterLibsPlugin.register(with: registry.registrar(forPlugin: "Sqlite3FlutterLibsPlugin"))
1410
}

demos/benchmarks/windows/flutter/generated_plugin_registrant.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66

77
#include "generated_plugin_registrant.h"
88

9-
#include <powersync_flutter_libs/powersync_flutter_libs_plugin.h>
10-
#include <sqlite3_flutter_libs/sqlite3_flutter_libs_plugin.h>
119

1210
void RegisterPlugins(flutter::PluginRegistry* registry) {
13-
PowersyncFlutterLibsPluginRegisterWithRegistrar(
14-
registry->GetRegistrarForPlugin("PowersyncFlutterLibsPlugin"));
15-
Sqlite3FlutterLibsPluginRegisterWithRegistrar(
16-
registry->GetRegistrarForPlugin("Sqlite3FlutterLibsPlugin"));
1711
}

demos/benchmarks/windows/flutter/generated_plugins.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
#
44

55
list(APPEND FLUTTER_PLUGIN_LIST
6-
powersync_flutter_libs
7-
sqlite3_flutter_libs
86
)
97

108
list(APPEND FLUTTER_FFI_PLUGIN_LIST
9+
jni
1110
)
1211

1312
set(PLUGIN_BUNDLED_LIBRARIES)

demos/django-todolist/linux/flutter/generated_plugin_registrant.cc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@
66

77
#include "generated_plugin_registrant.h"
88

9-
#include <powersync_flutter_libs/powersync_flutter_libs_plugin.h>
10-
#include <sqlite3_flutter_libs/sqlite3_flutter_libs_plugin.h>
119

1210
void fl_register_plugins(FlPluginRegistry* registry) {
13-
g_autoptr(FlPluginRegistrar) powersync_flutter_libs_registrar =
14-
fl_plugin_registry_get_registrar_for_plugin(registry, "PowersyncFlutterLibsPlugin");
15-
powersync_flutter_libs_plugin_register_with_registrar(powersync_flutter_libs_registrar);
16-
g_autoptr(FlPluginRegistrar) sqlite3_flutter_libs_registrar =
17-
fl_plugin_registry_get_registrar_for_plugin(registry, "Sqlite3FlutterLibsPlugin");
18-
sqlite3_flutter_libs_plugin_register_with_registrar(sqlite3_flutter_libs_registrar);
1911
}

demos/django-todolist/linux/flutter/generated_plugins.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
#
44

55
list(APPEND FLUTTER_PLUGIN_LIST
6-
powersync_flutter_libs
7-
sqlite3_flutter_libs
86
)
97

108
list(APPEND FLUTTER_FFI_PLUGIN_LIST
9+
jni
1110
)
1211

1312
set(PLUGIN_BUNDLED_LIBRARIES)

demos/django-todolist/macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
import FlutterMacOS
66
import Foundation
77

8-
import powersync_flutter_libs
98
import shared_preferences_foundation
10-
import sqlite3_flutter_libs
119

1210
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
13-
PowersyncFlutterLibsPlugin.register(with: registry.registrar(forPlugin: "PowersyncFlutterLibsPlugin"))
1411
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
15-
Sqlite3FlutterLibsPlugin.register(with: registry.registrar(forPlugin: "Sqlite3FlutterLibsPlugin"))
1612
}

demos/django-todolist/windows/flutter/generated_plugin_registrant.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66

77
#include "generated_plugin_registrant.h"
88

9-
#include <powersync_flutter_libs/powersync_flutter_libs_plugin.h>
10-
#include <sqlite3_flutter_libs/sqlite3_flutter_libs_plugin.h>
119

1210
void RegisterPlugins(flutter::PluginRegistry* registry) {
13-
PowersyncFlutterLibsPluginRegisterWithRegistrar(
14-
registry->GetRegistrarForPlugin("PowersyncFlutterLibsPlugin"));
15-
Sqlite3FlutterLibsPluginRegisterWithRegistrar(
16-
registry->GetRegistrarForPlugin("Sqlite3FlutterLibsPlugin"));
1711
}

demos/django-todolist/windows/flutter/generated_plugins.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
#
44

55
list(APPEND FLUTTER_PLUGIN_LIST
6-
powersync_flutter_libs
7-
sqlite3_flutter_libs
86
)
97

108
list(APPEND FLUTTER_FFI_PLUGIN_LIST
9+
jni
1110
)
1211

1312
set(PLUGIN_BUNDLED_LIBRARIES)

0 commit comments

Comments
 (0)