Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ jobs:
--target-toolchain _ \
--target-sysroot _ \
--target-triple _ \
--runtime-mode=${{ matrix.mode }}
--runtime-mode=${{ matrix.mode }} \
--disable-desktop-embeddings
ninja -C src/out/$OUTPUT_NAME clang_x64/gen_snapshot

src/flutter/ci/tizen/cache-checksum.sh save src/out/$OUTPUT_NAME
Expand Down
18 changes: 14 additions & 4 deletions ci/tizen/gclient-shallow-sync.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python

import os
import platform
import sys
import subprocess
import concurrent.futures
Expand All @@ -10,7 +11,7 @@

def run_git(args, cwd):
if not args:
raise Exception('Please provide a git command to run')
raise Exception('Please provide a git command to run.')
return subprocess.call(['git'] + args, cwd=cwd) == 0


Expand Down Expand Up @@ -42,12 +43,21 @@ def checkout_deps(deps):

def main(argv):
if (len(argv) < 1):
raise Exception('Please provide a DEPS file to update')
raise Exception('Please provide a DEPS file to update.')
deps_file = argv[0]
if not os.path.exists(deps_file):
raise Exception('DEPS file does not exist')
raise Exception('The DEPS file does not exist.')

host_os = 'linux'
if platform.system() == 'Windows':
host_os = 'win'
if platform.system() == 'Darwin':
host_os = 'mac'

deps_contents = gclient_utils.FileRead(deps_file)
local_scope = gclient_eval.Parse(deps_contents, deps_file)
local_scope = gclient_eval.Parse(
deps_contents, deps_file, builtin_vars={'host_os': host_os})

checkout_deps(local_scope['deps'])


Expand Down