Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fuchsia] Use the new far package model #10085

Merged
merged 1 commit into from
Jul 24, 2019
Merged
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
10 changes: 4 additions & 6 deletions tools/fuchsia/build_fuchsia_artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import sys
import tempfile

from gather_flutter_runner_artifacts import GatherArtifacts
from gather_flutter_runner_artifacts import CreateMetaPackage
from gen_package import CreateFarPackage

_script_dir = os.path.abspath(os.path.join(os.path.realpath(__file__), '..'))
Expand Down Expand Up @@ -76,15 +76,13 @@ def RemoveDirectoryIfExists(path):


def CopyToBucket(source, destination):
source = os.path.join(_out_dir, source)
temp_artifact_dir = tempfile.mkdtemp()

GatherArtifacts(source, temp_artifact_dir)
source = os.path.join(_out_dir, source, 'flutter_jit_runner_far')
CreateMetaPackage(source)
pm_bin = GetPMBinPath()
key_path = os.path.join(_script_dir, 'development.key')

destination = os.path.join(_bucket_directory, destination)
CreateFarPackage(pm_bin, temp_artifact_dir, key_path, destination)
CreateFarPackage(pm_bin, source, key_path, destination)


def BuildBucket():
Expand Down