Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
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
2 changes: 2 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ task:
compile_fuchsia_script: |
cd $ENGINE_PATH/src
./flutter/tools/fuchsia/build_fuchsia_artifacts.py --engine-version HEAD --runtime-mode debug
cd $ENGINE_PATH/src/flutter
./ci/build_flutter_runner_tests.sh

# WINDOWS
task:
Expand Down
17 changes: 17 additions & 0 deletions ci/build_flutter_runner_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
set -ex

PATH="$HOME/depot_tools:$PATH"
cd ..

# Build the flutter runner tests far directory
flutter/tools/gn --fuchsia --no-lto --runtime-mode debug
ninja -C out/fuchsia_debug_x64 flutter/shell/platform/fuchsia/flutter:flutter_runner_tests

# Generate the far package
flutter/tools/fuchsia/gen_package.py\
--pm-bin $PWD/fuchsia/sdk/linux/tools/pm\
--package-dir $PWD/out/fuchsia_debug_x64/flutter_runner_tests_far\
--signing-key $PWD/flutter/tools/fuchsia/development.key\
--far-name flutter_runner_tests

2 changes: 2 additions & 0 deletions shell/platform/fuchsia/flutter/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,8 @@ package_dir("flutter_runner_tests") {

meta_dir = "$flutter_root/shell/platform/fuchsia/flutter/meta"

libraries = common_libs

meta = [
{
path = "meta/$target_name.cmx"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"program": {
"binary": "test/flutter_runner_tests"
"binary": "bin/app"
},
"sandbox": {
"features": [
Expand Down