Flutter Engine
The Flutter Engine
|
Public Member Functions | |
__init__ (self, *args, **kwargs) | |
check_failure (self) | |
failed_steps (self) | |
run_once (self, fn, *args, **kwargs) | |
readfile (self, filename, *args, **kwargs) | |
writefile (self, filename, contents) | |
rmtree (self, path) | |
asset_version (self, asset_name, skia_dir, test_data=None) | |
__call__ (self, steptype, name, abort_on_failure=True, fail_build_on_failure=True, **kwargs) | |
with_retry (self, steptype, name, attempts, between_attempts_fn=None, abort_on_failure=True, fail_build_on_failure=True, **kwargs) | |
Protected Attributes | |
_already_ran | |
_ccache | |
_checked_for_ccache | |
_failed | |
run.api.SkiaStepApi.__init__ | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
Initialize the recipe module.
Definition at line 16 of file api.py.
run.api.SkiaStepApi.__call__ | ( | self, | |
steptype, | |||
name, | |||
abort_on_failure = True , |
|||
fail_build_on_failure = True , |
|||
** | kwargs | ||
) |
Run a step. If it fails, keep going but mark the build status failed.
Definition at line 69 of file api.py.
run.api.SkiaStepApi.asset_version | ( | self, | |
asset_name, | |||
skia_dir, | |||
test_data = None |
|||
) |
Return the contents of VERSION for the given asset as a string. If test_data is not specified, reads the property 'test_<asset_name>_version' or if not present, uses TEST_DEFAULT_ASSET_VERSION.
Definition at line 54 of file api.py.
run.api.SkiaStepApi.check_failure | ( | self | ) |
run.api.SkiaStepApi.failed_steps | ( | self | ) |
run.api.SkiaStepApi.readfile | ( | self, | |
filename, | |||
* | args, | ||
** | kwargs | ||
) |
Convenience function for reading files.
Definition at line 40 of file api.py.
run.api.SkiaStepApi.rmtree | ( | self, | |
path | |||
) |
run.api.SkiaStepApi.run_once | ( | self, | |
fn, | |||
* | args, | ||
** | kwargs | ||
) |
run.api.SkiaStepApi.with_retry | ( | self, | |
steptype, | |||
name, | |||
attempts, | |||
between_attempts_fn = None , |
|||
abort_on_failure = True , |
|||
fail_build_on_failure = True , |
|||
** | kwargs | ||
) |
Definition at line 81 of file api.py.
run.api.SkiaStepApi.writefile | ( | self, | |
filename, | |||
contents | |||
) |