Lines Matching full:options
114 options = parser.parse_args(argv[1:])
116 if options.chromeos_root is None:
118 options.chromeos_root = os.path.expanduser(options.chromeos_root)
119 scripts_dir = os.path.join(options.chromeos_root, 'src', 'scripts')
123 if options.board is None:
126 if options.debug:
127 options.dev = True
129 build_packages_env = options.env
136 if options.rebuild == True:
140 misc.RemoveChromeBrowserObjectFiles(options.chromeos_root, options.board)
148 board=options.board, usepkg=options.vanilla_image, debug=options.debug)
150 if options.package:
151 build_packages_command += ' {0}'.format(options.package)
153 build_image_command = misc.GetBuildImageCommand(options.board, options.dev)
155 if options.vanilla or options.vanilla_image:
157 options.board,
158 usepkg=options.vanilla_image,
159 force=options.clobber_board)
162 ret = cmd_executer.ChrootRunCommand(options.chromeos_root, command)
166 if not os.path.isdir(options.chromeos_root + '/chroot/build/' +
167 options.board) or options.clobber_board:
169 ret = cmd_executer.ChrootRunCommand(options.chromeos_root,
171 options.board,
172 force=options.clobber_board))
178 if options.debug:
182 if options.rebuild == True:
196 options.chromeos_root, "CFLAGS=\"$(portageq-%s envvar CFLAGS) %s\" "
202 'chromeos-chrome' % (options.board, options.cflags, options.board,
203 options.cxxflags, options.board, options.ldflags,
211 if options.rebuild == True:
218 options.chromeos_root, "CFLAGS=\"$(portageq-%s envvar CFLAGS) %s\" "
224 'chromeos-chrome' % (options.board, options.cflags, options.board,
225 options.cxxflags, options.board, options.ldflags,
242 options.chromeos_root, "CFLAGS=\"$(portageq-%s envvar CFLAGS) %s\" "
248 (options.board, options.cflags, options.board, options.cxxflags,
249 options.board, options.ldflags, build_packages_env,
253 if options.package:
257 options.chromeos_root, build_packages_env + ' ' + build_image_command)
263 (options.chromeos_root, options.board, flags_file_name))
265 flags_file.write('CFLAGS=%s\n' % options.cflags)
266 flags_file.write('CXXFLAGS=%s\n' % options.cxxflags)
267 flags_file.write('LDFLAGS=%s\n' % options.ldflags)
270 if options.label:
271 image_dir_path = ('%s/src/build/images/%s/latest' % (options.chromeos_root,
272 options.board))
276 os.path.dirname(real_image_dir_path), options.label))
280 ret, 'Failed to apply symlink label %s' % options.label)