6from recipe_engine
import recipe_api
12"""Chromebook flavor, used for running code on Chromebooks."""
18 super(ChromebookFlavor, self).
__init__(m, app_name)
25 fonts_dir =
'NOT_SUPPORTED',
34 super(ChromebookFlavor, self).
install()
38 'sudo',
'mount',
'-i',
'-o',
'remount,exec',
'/home/chronos')
40 def _copy_dir(self, src, dest):
42 self.
m.
step(str(
'scp -r %s %s' % (src, dest)),
43 cmd=[
'python3', script, src, dest],
static SkString resource(SkPDFResourceType type, int index)
def _copy_dir(self, src, dest)
def copy_directory_contents_to_host(self, device_path, host_path)
def copy_directory_contents_to_device(self, host_path, device_path)
def __init__(self, m, app_name)
def ssh(self, title, *cmd, **kwargs)
def scp_device_path(self, device_path)
def step(self, name, cmd, **kwargs)