Flutter Engine
The Flutter Engine
third_party
skia
infra
bots
recipe_modules
docker
examples
full.py
Go to the documentation of this file.
1
# Copyright 2017 The Chromium Authors. All rights reserved.
2
# Use of this source code is governed by a BSD-style license that can be
3
# found in the LICENSE file.
4
5
PYTHON_VERSION_COMPATIBILITY =
"PY3"
6
7
DEPS = [
8
'docker'
,
9
'recipe_engine/context'
,
10
'recipe_engine/properties'
,
11
'recipe_engine/step'
,
12
'vars'
,
13
]
14
15
16
def
RunSteps
(api):
17
api.vars.setup()
18
api.docker.run(
19
name=
'do Docker stuff'
,
20
docker_image=
'my.docker.image'
,
21
src_dir=
'/host-src'
,
22
out_dir=
'/host-out'
,
23
script=
'./do-stuff.sh'
,
24
args=[
'--src'
, api.docker.mount_src(),
'--out'
, api.docker.mount_out()],
25
docker_args=[
'--cpus'
,
'2'
],
26
copies=[{
'src'
:
'/copy-src/myfile'
,
'dst'
:
'/copy-dst/myfile'
}],
27
recursive_read=[
'/host-src'
],
28
)
29
30
def
GenTests
(api):
31
yield
(api.test(
'test'
) +
32
api.properties(buildername=
'Test-Debian10-EMCC-GCE-GPU-WEBGL1-wasm-Debug-All-CanvasKit'
,
33
buildbucket_build_id=
'123454321'
,
34
revision=
'abc123'
,
35
path_config=
'kitchen'
,
36
gold_hashes_url=
'https://example.com/hashes.txt'
,
37
swarm_out_dir=
'[SWARM_OUT_DIR]'
,
38
task_id=
'task_12345'
)
39
)
full.GenTests
def GenTests(api)
Definition:
full.py:111
full.RunSteps
def RunSteps(api)
Definition:
full.py:18
Generated on Sun Jun 23 2024 21:56:04 for Flutter Engine by
1.9.4