Skip to content

Mono SDK packaging #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/flutter-engine-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
--enable-impeller-3d \
--no-goma --no-rbe \
--no-stripped --no-enable-unittests \
--no-dart-version-git-info \
--linux-cpu $linux_cpu \
--target-os linux \
--target-sysroot $PWD/build/linux/$target_sysroot \
Expand Down Expand Up @@ -122,6 +123,7 @@ jobs:
--enable-impeller-3d \
--no-goma --no-rbe \
--no-stripped --no-enable-unittests \
--no-dart-version-git-info \
--linux-cpu $linux_cpu \
--target-os linux \
--target-sysroot $PWD/build/linux/$target_sysroot \
Expand Down Expand Up @@ -171,6 +173,7 @@ jobs:
--enable-impeller-3d \
--no-goma --no-rbe \
--no-stripped --no-enable-unittests \
--no-dart-version-git-info \
--linux-cpu $linux_cpu \
--target-os linux \
--target-sysroot $PWD/build/linux/$target_sysroot \
Expand Down Expand Up @@ -220,6 +223,7 @@ jobs:
--enable-impeller-3d \
--no-goma --no-rbe \
--no-stripped --no-enable-unittests \
--no-dart-version-git-info \
--linux-cpu $linux_cpu \
--target-os linux \
--target-sysroot $PWD/build/linux/$target_sysroot \
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/flutter-engine-armv7hf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
--enable-impeller-3d \
--no-goma --no-rbe \
--no-stripped --no-enable-unittests \
--no-dart-version-git-info \
--linux-cpu $linux_cpu \
--target-os linux \
--target-sysroot $PWD/build/linux/$target_sysroot \
Expand Down Expand Up @@ -123,6 +124,7 @@ jobs:
--enable-impeller-3d \
--no-goma --no-rbe \
--no-stripped --no-enable-unittests \
--no-dart-version-git-info \
--linux-cpu $linux_cpu \
--target-os linux \
--target-sysroot $PWD/build/linux/$target_sysroot \
Expand Down Expand Up @@ -172,6 +174,7 @@ jobs:
--enable-impeller-3d \
--no-goma --no-rbe \
--no-stripped --no-enable-unittests \
--no-dart-version-git-info \
--linux-cpu $linux_cpu \
--target-os linux \
--target-sysroot $PWD/build/linux/$target_sysroot \
Expand Down Expand Up @@ -222,6 +225,7 @@ jobs:
--enable-impeller-3d \
--no-goma --no-rbe \
--no-stripped --no-enable-unittests \
--no-dart-version-git-info \
--linux-cpu $linux_cpu \
--target-os linux \
--target-sysroot $PWD/build/linux/$target_sysroot \
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/flutter-engine-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
--enable-impeller-3d \
--no-goma --no-rbe \
--no-stripped --no-enable-unittests \
--no-dart-version-git-info \
--linux-cpu $linux_cpu \
--target-os linux \
--target-sysroot $PWD/build/linux/$target_sysroot \
Expand Down Expand Up @@ -122,6 +123,7 @@ jobs:
--enable-impeller-3d \
--no-goma --no-rbe \
--no-stripped --no-enable-unittests \
--no-dart-version-git-info \
--linux-cpu $linux_cpu \
--target-os linux \
--target-sysroot $PWD/build/linux/$target_sysroot \
Expand Down Expand Up @@ -171,6 +173,7 @@ jobs:
--enable-impeller-3d \
--no-goma --no-rbe \
--no-stripped --no-enable-unittests \
--no-dart-version-git-info \
--linux-cpu $linux_cpu \
--target-os linux \
--target-sysroot $PWD/build/linux/$target_sysroot \
Expand Down Expand Up @@ -220,6 +223,7 @@ jobs:
--enable-impeller-3d \
--no-goma --no-rbe \
--no-stripped --no-enable-unittests \
--no-dart-version-git-info \
--linux-cpu $linux_cpu \
--target-os linux \
--target-sysroot $PWD/build/linux/$target_sysroot \
Expand Down
39 changes: 36 additions & 3 deletions scripts/prepare-sdk-arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,54 @@ mkdir -p engine-sdk/{bin,include,lib,data,clang_x64/bin,clang_x64/lib64}
#
# Include
#
cp flutter_embedder.h engine-sdk/include/
cp *.h engine-sdk/include/

#
# /data
#
cp icudtl.dat engine-sdk/data/

#
# cpp_client_wrapper_glfw
#
if [ -e cpp_client_wrapper_glfw ]; then
mkdir -p engine-sdk/sdk/cpp_client_wrapper_glfw/
cp -r cpp_client_wrapper_glfw/* engine-sdk/sdk/cpp_client_wrapper_glfw/
fi

#
# SDK
# flutter_linux
#
cp -r flutter_patched_sdk engine-sdk/sdk/
if [ -e flutter_linux ]; then
mkdir -p engine-sdk/include/flutter_linux
cp -r flutter_linux/* engine-sdk/include/flutter_linux/
fi

#
# flutter_patched_sdk
#
if [ -e flutter_patched_sdk ]; then
mkdir -p engine-sdk/sdk/flutter_patched_sdk
cp -r flutter_patched_sdk/* engine-sdk/sdk/flutter_patched_sdk/
fi

#
# shader_lib
#
if [ -e shader_lib ]; then
mkdir -p engine-sdk/sdk/flutter_patched_sdk
cp -r shader_lib engine-sdk/
fi

#
# zip archives
#
if [ -e zip_archives ]; then
mkdir -p engine-sdk/sdk/zip_archives
cp -r zip_archives/* engine-sdk/sdk/zip_archives/
fi


export cwd=$(pwd)

#
Expand Down
38 changes: 35 additions & 3 deletions scripts/prepare-sdk-armv7hf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,53 @@ mkdir -p engine-sdk/{bin,include,lib,data,clang_x64/bin,clang_x64/lib64}
#
# Include
#
cp flutter_embedder.h engine-sdk/include/
cp *.h engine-sdk/include/

#
# /data
#
cp icudtl.dat engine-sdk/data/

#
# cpp_client_wrapper_glfw
#
if [ -e cpp_client_wrapper_glfw ]; then
mkdir -p engine-sdk/sdk/cpp_client_wrapper_glfw/
cp -r cpp_client_wrapper_glfw/* engine-sdk/sdk/cpp_client_wrapper_glfw/
fi

#
# SDK
# flutter_linux
#
cp -r flutter_patched_sdk engine-sdk/sdk/
if [ -e flutter_linux ]; then
mkdir -p engine-sdk/include/flutter_linux
cp -r flutter_linux/* engine-sdk/include/flutter_linux/
fi

#
# flutter_patched_sdk
#
if [ -e flutter_patched_sdk ]; then
mkdir -p engine-sdk/sdk/flutter_patched_sdk
cp -r flutter_patched_sdk/* engine-sdk/sdk/flutter_patched_sdk/
fi

#
# shader_lib
#
if [ -e shader_lib ]; then
mkdir -p engine-sdk/sdk/flutter_patched_sdk
cp -r shader_lib engine-sdk/
fi

#
# zip archives
#
if [ -e zip_archives ]; then
mkdir -p engine-sdk/sdk/zip_archives
cp -r zip_archives/* engine-sdk/sdk/zip_archives/
fi

export cwd=$(pwd)

#
Expand Down
38 changes: 35 additions & 3 deletions scripts/prepare-sdk-x86-64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,53 @@ mkdir -p engine-sdk/{bin,include,lib,data,clang_x64/bin,clang_x64/lib64}
#
# Include
#
cp flutter_embedder.h engine-sdk/include/
cp *.h engine-sdk/include/

#
# /data
#
cp icudtl.dat engine-sdk/data/

#
# cpp_client_wrapper_glfw
#
if [ -e cpp_client_wrapper_glfw ]; then
mkdir -p engine-sdk/sdk/cpp_client_wrapper_glfw/
cp -r cpp_client_wrapper_glfw/* engine-sdk/sdk/cpp_client_wrapper_glfw/
fi

#
# SDK
# flutter_linux
#
cp -r flutter_patched_sdk engine-sdk/sdk/
if [ -e flutter_linux ]; then
mkdir -p engine-sdk/include/flutter_linux
cp -r flutter_linux/* engine-sdk/include/flutter_linux/
fi

#
# flutter_patched_sdk
#
if [ -e flutter_patched_sdk ]; then
mkdir -p engine-sdk/sdk/flutter_patched_sdk
cp -r flutter_patched_sdk/* engine-sdk/sdk/flutter_patched_sdk/
fi

#
# shader_lib
#
if [ -e shader_lib ]; then
mkdir -p engine-sdk/sdk/flutter_patched_sdk
cp -r shader_lib engine-sdk/
fi

#
# zip archives
#
if [ -e zip_archives ]; then
mkdir -p engine-sdk/sdk/zip_archives
cp -r zip_archives/* engine-sdk/sdk/zip_archives/
fi

export cwd=$(pwd)

#
Expand Down