Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions frontend_server_client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 3.2.0

- Add `nativeAssets` parameter to `FrontendServerClient`, for passing
additional `--native-assets` to the kernel compiler.

## 3.1.0

- Add `additionalSources` parameter to `FrontendServerClient`, for passing
Expand Down
5 changes: 5 additions & 0 deletions frontend_server_client/lib/src/frontend_server_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class FrontendServerClient {
bool verbose = false, // Verbose logs, including server/client messages
bool printIncrementalDependencies = true,
List<String> additionalSources = const [],
String? nativeAssets,
}) async {
var feServer = await Process.start(Platform.resolvedExecutable, [
if (debug) '--observe',
Expand Down Expand Up @@ -85,6 +86,10 @@ class FrontendServerClient {
'--source',
source,
],
if (nativeAssets != null) ...[
'--native-assets',
nativeAssets,
],
]);
var feServerStdoutLines = StreamQueue(feServer.stdout
.transform(utf8.decoder)
Expand Down
2 changes: 1 addition & 1 deletion frontend_server_client/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: frontend_server_client
version: 3.1.0
version: 3.2.0
description: >-
Client code to start and interact with the frontend_server compiler from the
Dart SDK.
Expand Down