Lines Matching full:board
107 def GetImageDir(chromeos_root, board):
108 return os.path.join(chromeos_root, 'src', 'build', 'images', board)
111 def LabelLatestImage(chromeos_root, board, label, vanilla_path=None):
112 image_dir = GetImageDir(chromeos_root, board)
130 def DoesLabelExist(chromeos_root, board, label):
131 image_label = os.path.join(GetImageDir(chromeos_root, board), label)
135 def GetBuildPackagesCommand(board, usepkg=False, debug=False):
145 '--skip_toolchain_update %s --board=%s '
147 (CHROMEOS_SCRIPTS_DIR, usepkg_flag, withdebug_flag, board))
150 def GetBuildImageCommand(board, dev=False):
154 return ('%s/build_image --board=%s %s test' %
155 (CHROMEOS_SCRIPTS_DIR, board, dev_args))
158 def GetSetupBoardCommand(board,
182 return ('%s/setup_board --board=%s %s' %
183 (CHROMEOS_SCRIPTS_DIR, board, ' '.join(options)))
192 def GetCtargetFromBoard(board, chromeos_root):
193 """Get Ctarget from board."""
194 base_board = board.split('_')[0]
200 raise ValueError('Board %s is invalid!' % board)
206 def GetArchFromBoard(board, chromeos_root):
207 """Get Arch from board."""
208 base_board = board.split('_')[0]
214 raise ValueError('Board %s is invalid!' % board)
220 def GetGccLibsDestForBoard(board, chromeos_root):
221 """Get gcc libs destination from board."""
222 arch = GetArchFromBoard(board, chromeos_root)
224 return '/build/%s/usr/lib/gcc/' % board
226 return '/build/%s/usr/lib64/gcc/' % board
228 return '/build/%s/usr/lib/gcc/' % board
230 return '/build/%s/usr/lib/gcc/' % board
266 def GetAllImages(chromeos_root, board):
269 (chromeos_root, board))
285 def RemoveChromeBrowserObjectFiles(chromeos_root, board):
289 'var/cache/chromeos-chrome/chrome-src/src/out_%s' % board)
295 'var/cache/chromeos-chrome/chrome-src-internal/src/out_%s' % board)