[flutter_runner] Add common libs to the test far (flutter/engine#11875)
* [flutter_runner] Add common libs to the test far * Add flutter runner test build as part of CI
This commit is contained in:
@@ -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:
|
||||
|
||||
17
engine/src/flutter/ci/build_flutter_runner_tests.sh
Executable file
17
engine/src/flutter/ci/build_flutter_runner_tests.sh
Executable file
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"program": {
|
||||
"binary": "test/flutter_runner_tests"
|
||||
"binary": "bin/app"
|
||||
},
|
||||
"sandbox": {
|
||||
"features": [
|
||||
|
||||
Reference in New Issue
Block a user