[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:
Kaushik Iska
2019-09-04 11:17:25 -07:00
committed by GitHub
parent 416fd9c903
commit a541c52ab9
4 changed files with 22 additions and 1 deletions

View File

@@ -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:

View 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

View File

@@ -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"

View File

@@ -1,6 +1,6 @@
{
"program": {
"binary": "test/flutter_runner_tests"
"binary": "bin/app"
},
"sandbox": {
"features": [