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
a957327203
custom-device: add customizable stopApp command ( #202 )
...
This change adds `stopApp` command to custom-devices json file to quit flutter app from host PC remotely.
Fixed #157
Signed-off-by: Hidenori Matsubayashi <Hidenori.Matsubayashi@gmail.com >
2023-08-16 01:24:35 +00:00
Hidenori Matsubayashi
2f83e0844e
Add FLUTTER_ELINUX_CUSTOM_RUN_ARGS env to pass custom run options ( #201 )
...
This change adds FLUTTER_ELINUX_CUSTOM_RUN_ARGS to pass custom run options for elinux embedder.
e.g.
$ FLUTTER_ELINUX_CUSTOM_RUN_ARGS="-w 640 -h 480" flutter-elinux run -d elinux-wayland
Signed-off-by: Hidenori Matsubayashi <Hidenori.Matsubayashi@gmail.com >
2023-08-14 06:53:21 +00:00
Hidenori Matsubayashi
b9a5cc7605
Add local elinux-artifacts use support ( #193 )
...
This change add ELINUX_ENGINE_BASE_LOCAL_DIRECTORY environment to use local artifacts of elinux without downloading them from GitHub.
Signed-off-by: Hidenori Matsubayashi <Hidenori.Matsubayashi@gmail.com >
2023-07-15 01:25:28 +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
Anton Sakhon
1d06f87d2d
Use all cores during build ( #171 )
...
* Use all cores during build
* Updated Authors
---------
Co-authored-by: Anton Sakhon <anton.sakhon@dataart.com >
2023-03-21 02:40:08 +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
CloudWebRTC
8d3e9fb098
pass FLUTTER_TARGET_PLATFORM flag to cmake. ( #150 )
...
* pass FLUTTER_TARGET_PLATFORM flag to cmake.
* chore: update AUTHORS.
* Update elinux_build_target.dart
2022-11-15 12:24:32 +09:00
Hidenori Matsubayashi
40ce536d59
Fix --analyze-size option ( #146 )
...
See #145
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com >
2022-11-04 22:58:52 +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
Hidenori Matsubayashi
f50c49d31a
Fix wrong compiler path issue when using external sysroots ( #109 )
...
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com >
2022-08-11 22:41:04 +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
andreadaoud
63f86a7001
Change how sysroot is passed to CMake. ( #105 )
...
* Change how sysroot is passed to CMake.
In the CMake documentation, it is specified that the
CMAKE_SYSROOT variable should be passed in toolchain
file variable. It has no effect to set this variable
in CMakeLists.txt like the current implementation.
(This is why CMAKE_FIND_ROOT_PATH is needed.)
The --sysroot option is not passed to the compiler in
the current approach.
This commit, instead, sets the sysroot variable in CMake
command line arguments. This makes it effective, and no
CMAKE_FIND_ROOT_PATH is needed.
Moreover, it is not the duty of architecture to decide
whether we are cross-compiling or not. For example, if
I compile this on my Linux VM on mac M1 to i.MX8 processor,
both host and target has the same arm64 architecture, but
they doesn't share the same sysroot, so the standard
cross-compile procedure should be followed. So, the real
difference for cross-compile is that whether we share
the same sysroot, rather than whether we have the same arch.
So this commit changes the detection method to compare sysroot.
2022-08-07 11:53:34 +09:00
Hidenori Matsubayashi
4a79b07c0f
Update for flutter 3.0.0 ( #95 )
...
* Update for flutter 3.0.0
Signed-off-by: Hidenori.Matsubayashi <hidenori.matsubayashi@gmail.com >
2022-05-14 11:11:23 +09:00
Hidenori Matsubayashi
e3b9d8e9ca
Remove --enable-background-compilation ( #93 )
2022-04-13 09:41:39 +09:00
Hidenori Matsubayashi
87bfe82298
Fix null access when we run integration tests ( #91 )
2022-04-08 09:35:14 +09:00
Hidenori Matsubayashi
7fd1502d58
Add target-compiler-triple option ( #88 )
2022-04-07 16:35:28 +09:00
Hidenori Matsubayashi
fc4efe0ac2
flutter stable 2.10.3 ( #84 )
...
Fixed https://github.com/sony/flutter-elinux/issues/81
Updated to the flutter 2.10.3. See also:
- https://github.com/sony/flutter-embedded-linux/releases/tag/bd539267b4
- https://github.com/flutter/flutter/tree/2.10.3
2022-03-04 09:13:44 +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
Hidenori Matsubayashi
298162adeb
Fix warnings of the dart analyser ( #79 )
2022-02-16 10:36:13 +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
fad1d30ae7
Partial migration to null safety ( #63 )
...
Migrated `elinux_cache.dart` to null safety.
2021-10-27 15:53:48 +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
8e42cda403
Add verbose option log message support ( #40 )
...
I added verbose option support to show detailed log message for building, device discovery, etc.
2021-08-03 15:52:25 +09:00
Hidenori Matsubayashi
a2c523c29e
Support native pluginClass |none| ( #39 )
2021-08-03 13:40:55 +09:00
Hidenori Matsubayashi
ec893e1b9a
Fix missing method ( #38 )
2021-08-03 13:26:21 +09:00
Hidenori Matsubayashi
f90086f143
Fix device discovery issue ( #35 )
...
When we use custom-devices and some of them are not found, desktop devices isn't also listed.
2021-08-02 08:49:06 +09:00
Hidenori Matsubayashi
feef220fb9
Add all runtime mode to custom-devices ( #34 )
...
* Add all runtime mode to custom-devices
* code format
2021-07-30 14:47:45 +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
8968bacfa1
Add port-forwarding for remote devices ( #27 )
2021-07-28 15:04:09 +09:00
Hidenori Matsubayashi
09f57d9082
Add runDebug for remote devices ( #26 )
2021-07-28 14:15:35 +09:00
Hidenori Matsubayashi
29eb6f6c21
Add install/uninstall to/from remote devices ( #25 )
2021-07-28 10:51:37 +09:00
Hidenori Matsubayashi
fe02c4d00f
Add profile mode support ( #24 )
2021-07-28 08:53:45 +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
d6d8ba9d90
Fix warning when upgrading to flutter-2.4.0-4.2.pre ( #19 )
2021-07-27 09:24:57 +09:00
Hidenori Matsubayashi
200391b629
Upgrade to flutter-2.4.0-4.2.pre ( #18 )
2021-07-26 16:03:51 +09:00
Hidenori Matsubayashi
c3d029b360
Fix custom-devices error message temporary ( #16 )
...
I temporary fixed the error when there isn't a ~/.flutter_custom_devices.json file.
2021-07-21 16:57:01 +09:00
Hidenori Matsubayashi
814f470586
Change the highest priority device to current host ( #15 )
2021-07-21 16:14:50 +09:00
Hidenori Matsubayashi
804ea1a0c1
Add device discovery and custom-devices ( #14 )
...
Fixed Discovery remote devices #12
2021-07-21 15:42:13 +09:00
Hidenori Matsubayashi
6221fd59b7
Add doctor command support ( #11 )
2021-07-20 14:50:50 +09:00
Hidenori Matsubayashi
eacaccf77b
Add native plugin build support ( #10 )
...
Fixed #3
2021-07-19 17:49:39 +09:00