24 Commits

Author SHA1 Message Date
Hidenori Matsubayashi d2ae0ffdb9 gen_snapshot: fix Platform.operatingSystem issue (#213)
This change fixes an issue that `Platform.operatingSystem` returns Android on x64 hosts and when cross-building for arm64 targets on x64 hosts. To fix the issue, use the gen_snapshot of linux and elinux instead of Android's one.

Fixed https://github.com/sony/flutter-elinux/issues/212

Signed-off-by: Hidenori Matsubayashi <Hidenori.Matsubayashi@gmail.com>
2023-08-29 12:07:51 +00:00
Hidenori Matsubayashi fa64bab806 upgrade: fix error messages when using upgrade command (#210)
This change fixes the following error messages when using upgrade command.

```
$ flutter-elinux upgrade
flutter-elinux is already up to date

Null check operator used on a null value
#0      ELinuxUpgradeCommandRunner.runCommandFirstHalf (package:flutter_elinux/commands/upgrade.dart:99:49)
<asynchronous suspension>
#1      ELinuxUpgradeCommandRunner.runCommand (package:flutter_elinux/commands/upgrade.dart:72:7)
<asynchronous suspension>
#2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1297:27)
<asynchronous suspension>
#3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#4      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:339:9)
<asynchronous suspension>
#6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:285:5)
<asynchronous suspension>
#8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:115:9)
<asynchronous suspension>
#9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#10     main (package:flutter_elinux/executable.dart:80:3)
<asynchronous suspension>
```

Signed-off-by: Hidenori Matsubayashi <Hidenori.Matsubayashi@gmail.com>
2023-08-24 20:18:35 +00:00
Hidenori Matsubayashi 4d747457cd release: update for flutter 3.13.0 (#203)
Signed-off-by: Hidenori Matsubayashi <Hidenori.Matsubayashi@gmail.com>
2023-08-17 00:20:27 +00:00
Hidenori Matsubayashi 070d039f2d Update for flutter 3.10.0 (#182)
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2023-05-20 04:58:32 +09:00
Hidenori Matsubayashi 51a1d68590 update for flutter 3.7.0 (#158)
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2023-01-25 23:39:11 +09:00
Hidenori Matsubayashi 392c64b34a Update for flutter 3.3.0 (#130)
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-09-02 20:35:29 +09:00
Hidenori Matsubayashi 4c1998ac74 Fix wrong default value of target-toolchain option (#115)
Fixed #114

Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-08-13 07:38:20 +09:00
Hidenori Matsubayashi a4c7655a8a Fix build command option (#111)
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-08-12 09:47:56 +09:00
Hidenori Matsubayashi ed16e0bd77 Add custom toolchain option (#110)
Fixed #48

Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-08-12 09:25:22 +09:00
andreadaoud f6cb5b3728 Add --target-compiler-flags argument to specify flags for clang. (#106)
Also, avoid using environment variables to prevent interference to
other commands run by CMake. Only CMAKE_C(XX)_COMPILER is sufficient
to build flutter.
2022-08-07 12:29:27 +09:00
Hidenori Matsubayashi 7fd1502d58 Add target-compiler-triple option (#88) 2022-04-07 16:35:28 +09:00
Hidenori Matsubayashi 3050096d46 Switch gen_snapshot from Android's one to elinux's one (#82) 2022-02-21 16:31:12 +09:00
Michael Lamers 81d810f2d0 Flutter version 2.10.1 (#76)
bumps engine and flutter commit ids
adapts tool API changes
adds my name to the AUTHORS file as requested by the contribution guide
2022-02-16 10:20:37 +09:00
Hidenori Matsubayashi 0e4107e829 Update to flutter-2.8.0 (#68)
Updated to the flutter 2.8.0. See also:
 - https://github.com/sony/flutter-embedded-linux/releases/tag/40a99c5951
 - https://github.com/flutter/flutter/tree/2.8.0
2021-12-10 13:19:28 +09:00
Hidenori Matsubayashi 12df07e1d0 Merge the latest create.dart from flutter-tizen (#61)
Merged from https://github.com/flutter-tizen/flutter-tizen/commit/8b20d223859a81e3685439850c0f0ec77a612aaf
2021-10-13 16:55:20 +09:00
Hidenori Matsubayashi 073e2c265b Fix issues upgrading from no tagged branches (#51)
Fixed some issues when we upgrade from no tagged branches.
2021-08-26 16:47:15 +09:00
Hidenori Matsubayashi 13d148c198 Add upgrade command (#50)
Added flutter upgrade command.

## Related issues
- https://github.com/sony/flutter-elinux/issues/46
2021-08-26 14:50:14 +09:00
Hidenori Matsubayashi 3bb018d90f Add github workflows (#30) 2021-07-29 14:16:59 +09:00
Hidenori Matsubayashi ca037ac2d7 Add arm64 Linux host support (#29)
Fixed https://github.com/sony/flutter-elinux/issues/2
2021-07-29 09:57:05 +09:00
Hidenori Matsubayashi d2a2a44002 Add x11 backend runner support (#22) 2021-07-27 14:48:40 +09:00
Hidenori Matsubayashi 0a3ef762f5 Cross-compile from x64 to arm64 (#20) 2021-07-27 14:17:50 +09:00
Hidenori Matsubayashi eeb28eab23 Add create command for plugin support 2021-07-16 15:56:25 +09:00
Hidenori Matsubayashi 1ef4cda79b Delete target-backend-type option from create command 2021-07-16 13:34:36 +09:00
Hidenori Matsubayashi d10fcb6127 first commit 2021-07-16 13:03:30 +09:00