未验证 提交 b9a743ce 编写于 作者: K Kaushik Iska 提交者: GitHub

[flutter_runner] Add common libs to the test far (#11875)

* [flutter_runner] Add common libs to the test far

* Add flutter runner test build as part of CI
上级 34694cd6
......@@ -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:
......
#!/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"
......
{
"program": {
"binary": "test/flutter_runner_tests"
"binary": "bin/app"
},
"sandbox": {
"features": [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册