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

Commit 0e621d9

Browse files
authored
[fuchsia] Use the new far package model (#10085)
1 parent bdc7136 commit 0e621d9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tools/fuchsia/build_fuchsia_artifacts.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import sys
1616
import tempfile
1717

18-
from gather_flutter_runner_artifacts import GatherArtifacts
18+
from gather_flutter_runner_artifacts import CreateMetaPackage
1919
from gen_package import CreateFarPackage
2020

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

7777

7878
def CopyToBucket(source, destination):
79-
source = os.path.join(_out_dir, source)
80-
temp_artifact_dir = tempfile.mkdtemp()
81-
82-
GatherArtifacts(source, temp_artifact_dir)
79+
source = os.path.join(_out_dir, source, 'flutter_jit_runner_far')
80+
CreateMetaPackage(source)
8381
pm_bin = GetPMBinPath()
8482
key_path = os.path.join(_script_dir, 'development.key')
8583

8684
destination = os.path.join(_bucket_directory, destination)
87-
CreateFarPackage(pm_bin, temp_artifact_dir, key_path, destination)
85+
CreateFarPackage(pm_bin, source, key_path, destination)
8886

8987

9088
def BuildBucket():

0 commit comments

Comments
 (0)