Skip to content

Commit 1dcfddb

Browse files
committed
updated for flutter 1.22.6
- now contains install script for simpler installation - updated the readme with new instructions
1 parent eb4ce02 commit 1dcfddb

12 files changed

+13
-16
lines changed

README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
# 📰 NEWS
2-
- The layout of this repo changed a bit.
3-
- I now provide 2 versions of the engine, one debug version and one release version.
4-
- flutter-pi loads `libflutter_engine.so.debug`, or `libflutter_engine.so.release` if `--release` was given via cmdline.
5-
- if `libflutter_engine.so.debug` or `libflutter_engine.so.release` could not be found by flutter-pi, it will try to load `libflutter_engine.so`.
6-
- don't forget to delete your old `libflutter_engine.so`, since it's not overwritten when copying the new libraries
7-
- `gen_snapshot_linux_x64` is for building the `app.so` to run your App in release mode. The binary must be executed on a Linux x64 machine. (If you're on Windows, just use WSL). Instructions WIP
8-
91
# Engine Binaries
102
This branch contains precompiled flutter engine binaries, header files for use on the Raspberry Pi.
113

@@ -16,14 +8,12 @@ If you want to install the flutter engine on your Pi, do the following steps:
168
```
179
$ git clone --depth 1 --branch engine-binaries https://github.com/ardera/flutter-pi.git engine-binaries
1810
$ cd engine-binaries
19-
$ sudo cp ./libflutter_engine.so.* ./icudtl.dat /usr/lib
20-
$ sudo cp ./flutter_embedder.h /usr/include
11+
$ sudo ./install.sh
2112
```
2213

2314
## build parameters
24-
The engine is built using tip-of-tree llvm/clang 10 and libcxx. The following args are passed to _gn_:
15+
The engine is built using tip-of-tree llvm/clang 11 and libcxx. The following args are passed to _gn_:
2516
```bash
26-
--target-triple arm-linux-gnueabihf
2717
--linux-cpu arm
2818
--embedder-for-target
2919
--no-lto

arm/dart-sdk.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7c148d029de32590a8d0d332bf807d25929f080e
1+
2ea318b540948b55306bf82fd34b2c84ec634f48

arm/engine.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ae90085a8437c0ae94d6b5ad2741739ebc742cb4
1+
2f0af3715217a0c2ada72c717d4ed9178d68f6ed

arm/gen_snapshot_linux_x64

3.27 KB
Binary file not shown.

arm/libflutter_engine.so.debug

0 Bytes
Binary file not shown.

arm/libflutter_engine.so.release

0 Bytes
Binary file not shown.

arm64/dart-sdk.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7c148d029de32590a8d0d332bf807d25929f080e
1+
2ea318b540948b55306bf82fd34b2c84ec634f48

arm64/engine.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ae90085a8437c0ae94d6b5ad2741739ebc742cb4
1+
2f0af3715217a0c2ada72c717d4ed9178d68f6ed

arm64/gen_snapshot_linux_x64

3.28 KB
Binary file not shown.

arm64/libflutter_engine.so.debug

0 Bytes
Binary file not shown.

arm64/libflutter_engine.so.release

0 Bytes
Binary file not shown.

install.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
if [ `uname -m` == 'aarch64' ]; then export ARM=arm64; else export ARM=arm; fi
4+
5+
install ./$ARM/libflutter_engine.so.* ./$ARM/icudtl.dat /usr/lib
6+
install ./flutter_embedder.h /usr/include
7+

0 commit comments

Comments
 (0)