127 Commits

Author SHA1 Message Date
Hidenori Matsubayashi b2e75e4be3 Merge the latest cpp template from flutter-embedded-linux repo (#131)
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-09-02 21:46:30 +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 7a050f90a7 Update pubspec (#119)
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-08-20 12:50:51 +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 b09a90eee6 Update for flutter-3.0.5 (#102)
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-07-15 22:56:07 +09:00
Hidenori Matsubayashi 6482348b08 Update for flutter 3.0.4 (#101)
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-07-03 08:30:44 +09:00
Hidenori Matsubayashi 425fba6a81 Update for flutter 3.0.3 (#99)
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-06-23 23:32:24 +09:00
Hidenori Matsubayashi 3de9ece0e5 Update for flutter 3.0.2 (#97)
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-06-11 09:49:11 +09:00
Hidenori Matsubayashi 210fb22ca8 Update for flutter 3.0.1 (#96)
See:
- https://github.com/sony/flutter-embedded-linux/releases/tag/caaafc5604
- https://github.com/flutter/flutter/tree/3.0.1

Signed-off-by: Hidenori.Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-05-21 08:26:32 +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 122afc884c flutter stable 2.10.2 (#80) 2022-02-21 08:49:39 +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 490317ad3e Fix missing unzip installation (#73)
Fixed https://github.com/sony/flutter-elinux/issues/72
2022-01-11 11:21:41 +09:00
Hidenori Matsubayashi cdc033d221 Update to flutter-2.8.1 (#69)
See:
 - https://github.com/sony/flutter-embedded-linux/releases/tag/890a5fca2e
 - https://github.com/flutter/flutter/tree/2.8.1
2021-12-17 13:39:52 +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 b261e69fa5 Update to flutter-2.5.3 (#62)
Upgraded to the flutter 2.5.3. See also:
 - https://github.com/sony/flutter-embedded-linux/releases/tag/d3ea636dc5
 - https://github.com/flutter/flutter/tree/2.5.3
2021-10-18 11:04:00 +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 863fb15991 Upgrade to flutter 2.5.2 (#58)
Upgraded to the flutter 2.5.2. See also:
- https://github.com/sony/flutter-embedded-linux/releases/tag/6ac856380f
- https://github.com/flutter/flutter/tree/2.5.2
2021-10-01 13:18:17 +09:00
Hidenori Matsubayashi 745f63ab59 Upgrade to flutter-2.5.1 (#57)
Upgraded to the flutter 2.5.1. See also:
 - https://github.com/sony/flutter-embedded-linux/releases/tag/b3af521a05
 - https://github.com/flutter/flutter/tree/2.5.1
2021-09-21 09:58:43 +09:00
Hidenori Matsubayashi 8f8dcb28e3 Upgrade to flutter-2.5 (stable channel) (#55)
I switched from beta channel to stable channel. https://github.com/sony/flutter-elinux/issues/49

See also:
 - https://github.com/sony/flutter-embedded-linux/releases/tag/f0826da7ef
 - https://github.com/flutter/flutter/tree/2.5.0
2021-09-13 10:37:14 +09:00
Hidenori Matsubayashi 5d048b9b7d Add a new image file for the documentation (#54) 2021-09-06 14:32:39 +09:00
Hidenori Matsubayashi c88357b98a Update README (#53) 2021-09-06 13:48:32 +09:00
Hidenori Matsubayashi dcce678c32 Upgrade to flutter-2.5.0-5.3.pre (#52)
See:
- https://github.com/sony/flutter-embedded-linux/releases/tag/fcde2c8b2f
- https://github.com/flutter/flutter/tree/flutter-2.5-candidate.5
2021-09-03 15:01:53 +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 0d32523ec9 Upgrade to flutter-2.5.0-5.2.pre (#47)
See: https://github.com/sony/flutter-embedded-linux/releases/tag/7a4c4505f6
2021-08-20 09:51:15 +09:00
Hidenori Matsubayashi f8ad982081 Upgrade to Flutter 2.5.0-5.1.pre (beta) (#45) 2021-08-13 17:14:44 +09:00
Hidenori Matsubayashi 84826a6c81 Change default CMakeLists.txt (#43)
* Change default CMakeLists.txt to add Ubuntu18 support

* Change cmake minimum required version
2021-08-04 09:39:44 +09:00
Hidenori Matsubayashi b59f8cf9ff Update README: fix a typo (#42) 2021-08-03 16:21:54 +09:00
Hidenori Matsubayashi 8e671d8944 Update README: features, contributing, objectives (#41)
- updated features, contributing
- delete objective
2021-08-03 16:15:12 +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 8ca03a6f8b add .gitignore file to app template (#37) 2021-08-03 11:11:05 +09:00
Hidenori Matsubayashi c3ebc51c0f Change the default value of runner (bundle path) (#36)
Changed the default value of runner's command line option for bundle path.
2021-08-02 11:32:31 +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 f711cc0a70 delete duplicate error message (#33) 2021-07-30 09:35:39 +09:00