Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Oct 3, 2019

Right now my local workflow involves running 3 or 4 different scripts to achieve this - this is more analogous to what we do on other platforms, e.g. creating the flutter.jar and the test jar files when we build Android.

Since flutter_runner_tests and the relevant far are now built by default, we also don't need the shell script or the special step in CI to do it.

Once this lands, we can also simplify the LUCI recipe for Fuchsia related things that is trying to do similar work.

# Creates a package dir that we will them use pm to package.
# Creates a Fuchsia archive (.far) file using PM from the Fuchsia SDK.
#
# This currently ignores the CMX files and does minimal validation.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iskakaushik does this need a TODO? Is it still even true?

@dnfield dnfield requested a review from gw280 October 3, 2019 07:15
@dnfield dnfield added the CQ+1 label Oct 3, 2019
@iskakaushik
Copy link
Contributor

@dnfield don't we need to change the build_fuchsia python script to no longer invoke gen_package and other stuff?

deps = pkg_dir_deps + [ ":${target_name}_dir" ]
sources = copy_outputs
inputs = [
"$flutter_root/tools/fuchsia/gather_flutter_runner_artifacts.py",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't inputs be the same as inputs for package_dir

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was neeeded because the gen_package script imported that. It's not needed anymore.

Copy link
Contributor

@iskakaushik iskakaushik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dnfield dnfield merged commit f3d04a9 into flutter:master Oct 3, 2019
@dnfield dnfield deleted the fuchsia_far branch October 3, 2019 23:10
@dnfield dnfield restored the fuchsia_far branch October 4, 2019 00:19
dnfield added a commit that referenced this pull request Oct 4, 2019
dnfield added a commit that referenced this pull request Oct 4, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 4, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Oct 4, 2019
git@github.com:flutter/engine.git/compare/62e58c5d9fc2...2e163b2

git log 62e58c5..2e163b2 --no-merges --oneline
2019-10-04 dnfield@google.com Revert "Build AOT and test targets, generate FARs when building Fuchsia (#12761)" (flutter/engine#12781)
2019-10-03 30870216+gaaclarke@users.noreply.github.com Enabled people to chose if SystemNavigator.pop is animated on iOS. (flutter/engine#12752)
2019-10-03 30870216+gaaclarke@users.noreply.github.com Added some thread asserts to the code and made ios_surface_ safe since (flutter/engine#12775)
2019-10-03 dnfield@google.com Build AOT and test targets, generate FARs when building Fuchsia (flutter/engine#12761)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC liyuqian@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
dnfield added a commit to dnfield/engine that referenced this pull request Oct 4, 2019
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Nov 26, 2019
git@github.com:flutter/engine.git/compare/62e58c5d9fc2...2e163b2

git log 62e58c5..2e163b2 --no-merges --oneline
2019-10-04 dnfield@google.com Revert "Build AOT and test targets, generate FARs when building Fuchsia (flutter#12761)" (flutter/engine#12781)
2019-10-03 30870216+gaaclarke@users.noreply.github.com Enabled people to chose if SystemNavigator.pop is animated on iOS. (flutter/engine#12752)
2019-10-03 30870216+gaaclarke@users.noreply.github.com Added some thread asserts to the code and made ios_surface_ safe since (flutter/engine#12775)
2019-10-03 dnfield@google.com Build AOT and test targets, generate FARs when building Fuchsia (flutter/engine#12761)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC liyuqian@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants