Flutter Engine
The Flutter Engine
|
Public Member Functions | |
get_flavor (self, vars_api, app_name) | |
setup (self, app_name) | |
step (self, name, cmd, **kwargs) | |
device_path_join (self, *args) | |
copy_directory_contents_to_device (self, host_dir, device_dir) | |
copy_directory_contents_to_host (self, device_dir, host_dir) | |
copy_file_to_device (self, host_path, device_path) | |
create_clean_host_dir (self, path) | |
create_clean_device_dir (self, path) | |
read_file_on_device (self, path, **kwargs) | |
remove_file_on_device (self, path) | |
install (self, skps=False, images=False, lotties=False, svgs=False, resources=False, mskps=False, texttraces=False) | |
cleanup_steps (self) | |
Public Attributes | |
device_dirs | |
host_dirs | |
Protected Member Functions | |
_copy_dir (self, host_version, version_file, tmp_dir, host_path, device_path) | |
_copy_images (self) | |
_copy_lotties (self) | |
_copy_skps (self) | |
_copy_svgs (self) | |
_copy_mskps (self) | |
_copy_texttraces (self) | |
Protected Attributes | |
_f | |
_skia_dir | |
|
protected |
Definition at line 128 of file api.py.
|
protected |
Copy test images if needed.
Definition at line 149 of file api.py.
|
protected |
Copy test lotties if needed.
Definition at line 163 of file api.py.
|
protected |
Copy the MSKPs if needed.
Definition at line 205 of file api.py.
|
protected |
Copy the SKPs if needed.
Definition at line 177 of file api.py.
|
protected |
Copy the SVGs if needed.
Definition at line 191 of file api.py.
|
protected |
Copy the text traces if needed.
Definition at line 219 of file api.py.
flavor.api.SkiaFlavorApi.cleanup_steps | ( | self | ) |
flavor.api.SkiaFlavorApi.copy_directory_contents_to_device | ( | self, | |
host_dir, | |||
device_dir | |||
) |
flavor.api.SkiaFlavorApi.copy_directory_contents_to_host | ( | self, | |
device_dir, | |||
host_dir | |||
) |
flavor.api.SkiaFlavorApi.copy_file_to_device | ( | self, | |
host_path, | |||
device_path | |||
) |
flavor.api.SkiaFlavorApi.create_clean_device_dir | ( | self, | |
path | |||
) |
flavor.api.SkiaFlavorApi.create_clean_host_dir | ( | self, | |
path | |||
) |
flavor.api.SkiaFlavorApi.device_path_join | ( | self, | |
* | args | ||
) |
flavor.api.SkiaFlavorApi.get_flavor | ( | self, | |
vars_api, | |||
app_name | |||
) |
Return a flavor utils object specific to the given builder.
Definition at line 56 of file api.py.
flavor.api.SkiaFlavorApi.install | ( | self, | |
skps = False , |
|||
images = False , |
|||
lotties = False , |
|||
svgs = False , |
|||
resources = False , |
|||
mskps = False , |
|||
texttraces = False |
|||
) |
Definition at line 102 of file api.py.
flavor.api.SkiaFlavorApi.read_file_on_device | ( | self, | |
path, | |||
** | kwargs | ||
) |
flavor.api.SkiaFlavorApi.remove_file_on_device | ( | self, | |
path | |||
) |
flavor.api.SkiaFlavorApi.setup | ( | self, | |
app_name | |||
) |
Definition at line 69 of file api.py.
flavor.api.SkiaFlavorApi.step | ( | self, | |
name, | |||
cmd, | |||
** | kwargs | ||
) |