File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,8 @@ jobs:
239239 --target-toolchain _ \
240240 --target-sysroot _ \
241241 --target-triple _ \
242- --runtime-mode=${{ matrix.mode }}
242+ --runtime-mode=${{ matrix.mode }} \
243+ --disable-desktop-embeddings
243244 ninja -C src/out/$OUTPUT_NAME clang_x64/gen_snapshot
244245
245246 src/flutter/ci/tizen/cache-checksum.sh save src/out/$OUTPUT_NAME
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
33import os
4+ import platform
45import sys
56import subprocess
67import concurrent .futures
1011
1112def run_git (args , cwd ):
1213 if not args :
13- raise Exception ('Please provide a git command to run' )
14+ raise Exception ('Please provide a git command to run. ' )
1415 return subprocess .call (['git' ] + args , cwd = cwd ) == 0
1516
1617
@@ -42,12 +43,21 @@ def checkout_deps(deps):
4243
4344def main (argv ):
4445 if (len (argv ) < 1 ):
45- raise Exception ('Please provide a DEPS file to update' )
46+ raise Exception ('Please provide a DEPS file to update. ' )
4647 deps_file = argv [0 ]
4748 if not os .path .exists (deps_file ):
48- raise Exception ('DEPS file does not exist' )
49+ raise Exception ('The DEPS file does not exist.' )
50+
51+ host_os = 'linux'
52+ if platform .system () == 'Windows' :
53+ host_os = 'win'
54+ if platform .system () == 'Darwin' :
55+ host_os = 'mac'
56+
4957 deps_contents = gclient_utils .FileRead (deps_file )
50- local_scope = gclient_eval .Parse (deps_contents , deps_file )
58+ local_scope = gclient_eval .Parse (
59+ deps_contents , deps_file , builtin_vars = {'host_os' : host_os })
60+
5161 checkout_deps (local_scope ['deps' ])
5262
5363
You can’t perform that action at this time.
0 commit comments