コード例 #1
0
 def __init__(self, m):
   super(ChromebookFlavor, self).__init__(m)
   self.chromeos_homedir = '/home/chronos/user/'
   self.device_dirs = default.DeviceDirs(
     bin_dir       = self.chromeos_homedir + 'bin',
     dm_dir        = self.chromeos_homedir + 'dm_out',
     perf_data_dir = self.chromeos_homedir + 'perf',
     resource_dir  = self.chromeos_homedir + 'resources',
     images_dir    = self.chromeos_homedir + 'images',
     lotties_dir   = self.chromeos_homedir + 'lotties',
     skp_dir       = self.chromeos_homedir + 'skps',
     svg_dir       = self.chromeos_homedir + 'svgs',
     tmp_dir       = self.chromeos_homedir)
コード例 #2
0
ファイル: win_ssh.py プロジェクト: niuxinghua/skia
 def __init__(self, m):
   super(WinSSHFlavor, self).__init__(m)
   self.remote_homedir = 'C:\\Users\\chrome-bot\\botdata\\'
   self.device_dirs = default.DeviceDirs(
     bin_dir       = self.device_path_join(self.remote_homedir, 'bin'),
     dm_dir        = self.device_path_join(self.remote_homedir, 'dm_out'),
     perf_data_dir = self.device_path_join(self.remote_homedir, 'perf'),
     resource_dir  = self.device_path_join(self.remote_homedir, 'resources'),
     images_dir    = self.device_path_join(self.remote_homedir, 'images'),
     lotties_dir   = self.device_path_join(self.remote_homedir, 'lotties'),
     skp_dir       = self.device_path_join(self.remote_homedir, 'skps'),
     svg_dir       = self.device_path_join(self.remote_homedir, 'svgs'),
     tmp_dir       = self.remote_homedir)
   self._empty_dir = self.device_path_join(self.remote_homedir, 'empty')