-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: we now use flutter engine from our 3rdparty
No longer needed to have env variables pointing to a local flutter which needed to exist somewhere else. download_engine.sh now detects which flutter version you need and downloads it.
- Loading branch information
Showing
17 changed files
with
92 additions
and
261 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule flutter
updated
1706 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,27 @@ | ||
#!/bin/bash | ||
|
||
ENGINE_VERSION=3.24.0 | ||
set -e | ||
|
||
RELEASE_TAG=`gh release list --repo ardera/flutter-ci | grep $ENGINE_VERSION | awk '{print $2}'` | ||
ENGINE_VERSION=`flutter --version | grep -oP '^Flutter \K[^\s]+'` | ||
|
||
echo "Fetching engine version ${ENGINE_VERSION}..." | ||
|
||
# Get 2nd to last field, which is the release tag | ||
RELEASE_TAG=`gh release list --repo ardera/flutter-ci | grep $ENGINE_VERSION | awk '{print $(NF-1)}'` | ||
|
||
echo "Release tag is ${RELEASE_TAG}" | ||
|
||
mkdir -p engine_binaries/rel | ||
mkdir -p engine_binaries/dbg_unopt | ||
|
||
gh release download $RELEASE_TAG -p engine-x64-generic-debug_unopt.tar.xz --repo ardera/flutter-ci | ||
gh release download $RELEASE_TAG -p engine-x64-generic-release.tar.xz --repo ardera/flutter-ci | ||
|
||
tar xvf engine-x64-generic-debug_unopt.tar.xz | ||
mv libflutter_engine.so engine_binaries/dbg_unopt | ||
|
||
tar xvf engine-x64-generic-release.tar.xz | ||
mv libflutter_engine.so engine_binaries/rel | ||
|
||
gh release download $RELEASE_TAG -p engine-x64-generic-debug_unopt.tar.xz --repo ardera/flutter-ci || exit 1 | ||
tar xvf engine-x64-generic-debug_unopt.tar.xz || exit 1 | ||
rm engine-x64-generic-debug_unopt.tar.xz | ||
rm engine-x64-generic-release.tar.xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Run download_engine.sh to put the binaries here |
Oops, something went wrong.