[deps] Roll dart-lang/native

Adds the missing argument to `link`.

Change-Id: I8a9d167b046ac301e5274a5062e30d6c186ac257
Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-arm64-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-mac-release-try,pkg-win-release-arm64-try,pkg-win-release-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366381
Reviewed-by: Hossein Yousefi <yousefi@google.com>
Commit-Queue: Hossein Yousefi <yousefi@google.com>
Auto-Submit: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
Daco Harkes
2024-05-16 17:12:17 +00:00
committed by Commit Queue
parent 73bdc86dd5
commit b6207ebdb4
3 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ vars = {
"material_color_utilities_rev": "799b6ba2f3f1c28c67cc7e0b4f18e0c7d7f3c03e",
"mime_rev": "b01c9a24e0991da479bd405138be3b3e403ff456",
"mockito_rev": "4be52e16d06c8c5384d1cf5a511f0c9a7d829cf7",
"native_rev": "7bca3567228c259dd5cc8e8530cd1585d8de42a0", # mosum@ and dacoharkes@ are rolling breaking changes manually while the assets features are in experimental.
"native_rev": "fef40aebc3cf34654919e8a5785b6c50b3ea445c", # mosum@ and dacoharkes@ are rolling breaking changes manually while the assets features are in experimental.
"package_config_rev": "39096768806ccae4b7025dd4114f15f2df424b0c",
"path_rev": "9be79e72be7837fd8b99ae51a69f4c9f04ec29b4",
"pool_rev": "1a6f2df19d7a24baaf674e032a0310a4f76725de",
+1
View File
@@ -175,6 +175,7 @@ class BuildCommand extends DartdevCommand {
resourceIdentifiers: Uri.file(resources),
workingDirectory: workingDirectory,
target: target,
linkModePreference: LinkModePreferenceImpl.dynamic,
buildMode: BuildModeImpl.release,
includeParentEnvironment: true,
buildResult: buildResult,
+4
View File
@@ -52,7 +52,11 @@ Future<(bool success, List<AssetImpl> assets)> compileNativeAssetsJit({
final linkResult = await nativeAssetsBuildRunner.link(
workingDirectory: workingDirectory,
// When running in JIT mode, only the host OS needs to be build.
target: Target.current,
// When running in JIT mode, only dynamic libraries are supported.
linkModePreference: LinkModePreferenceImpl.dynamic,
// Dart has no concept of release vs debug, default to release.
buildMode: BuildModeImpl.release,
includeParentEnvironment: true,
buildResult: buildResult,