Flutter Engine
The Flutter Engine
Functions | Variables
housekeeper Namespace Reference

Functions

def RunSteps (api)
 
def GenTests (api)
 

Variables

string PYTHON_VERSION_COMPATIBILITY = "PY3"
 
list DEPS
 

Function Documentation

◆ GenTests()

def housekeeper.GenTests (   api)

Definition at line 38 of file housekeeper.py.

38def GenTests(api):
39 yield (
40 api.test('Housekeeper-PerCommit') +
41 api.properties(buildername='Housekeeper-PerCommit',
42 repository='https://skia.googlesource.com/skia.git',
43 revision='abc123',
44 path_config='kitchen',
45 swarm_out_dir='[SWARM_OUT_DIR]') +
46 api.path.exists(api.path.start_dir)
47 )
48 yield (
49 api.test('Housekeeper-PerCommit-Trybot') +
50 api.properties(buildername='Housekeeper-PerCommit',
51 repository='https://skia.googlesource.com/skia.git',
52 revision='abc123',
53 path_config='kitchen',
54 patch_issue='456789',
55 patch_set='11',
56 patch_ref='refs/changes/89/456789/12',
57 patch_repo='https://skia.googlesource.com/skia.git',
58 patch_storage='gerrit',
59 swarm_out_dir='[SWARM_OUT_DIR]') +
60 api.path.exists(api.path.start_dir)
61 )
def GenTests(api)
Definition: housekeeper.py:38

◆ RunSteps()

def housekeeper.RunSteps (   api)

Definition at line 24 of file housekeeper.py.

24def RunSteps(api):
25 # Checkout, compile, etc.
26 api.vars.setup()
27 checkout_root = api.checkout.default_checkout_root
28 api.checkout.bot_update(checkout_root=checkout_root)
29 api.file.ensure_directory('makedirs tmp_dir', api.vars.tmp_dir)
30
31 # TODO(borenet): Detect static initializers?
32
33 skia_dir = checkout_root.join('skia')
34 if not api.vars.is_trybot:
35 api.doxygen.generate_and_upload(skia_dir)
36
37
def RunSteps(api)
Definition: housekeeper.py:24

Variable Documentation

◆ DEPS

list housekeeper.DEPS
Initial value:
1= [
2 'checkout',
3 'doxygen',
4 'recipe_engine/file',
5 'recipe_engine/path',
6 'recipe_engine/properties',
7 'run',
8 'vars',
9]

Definition at line 13 of file housekeeper.py.

◆ PYTHON_VERSION_COMPATIBILITY

string housekeeper.PYTHON_VERSION_COMPATIBILITY = "PY3"

Definition at line 11 of file housekeeper.py.