Lines Matching full:options
111 options = parser.parse_args(argv)
113 if options.chromeos_root is None:
116 if options.board is None:
119 if options.version is None:
124 chrome_version = 'CHROME_VERSION=%s' % options.version
126 if options.dev and options.no_build_image:
130 if options.debug:
131 options.dev = True
133 options.chromeos_root = misc.CanonicalizePath(options.chromeos_root)
136 if options.ebuild_version:
137 ebuild_version = '=%s' % options.ebuild_version
138 options.env = '%s %s' % (options.env, unmask_env)
142 if options.cros_workon and not (
143 os.path.isdir(options.cros_workon) and os.path.exists(
144 os.path.join(options.cros_workon, 'src/chromeos/BUILD.gn'))):
147 if options.verbose:
148 options.env = misc.MergeEnvStringWithDict(
149 options.env, {'USE': 'chrome_internal verbose'})
151 options.env = misc.MergeEnvStringWithDict(options.env,
153 if options.debug:
154 options.env = misc.MergeEnvStringWithDict(options.env,
157 if options.clean:
158 misc.RemoveChromeBrowserObjectFiles(options.chromeos_root, options.board)
161 if options.cros_workon:
164 options.board)
165 ret = cmd_executer.ChrootRunCommandWOutput(options.chromeos_root, command)
184 chrome_origin, chrome_version, options.board,
185 options.cflags, options.ldflags,
186 options.cxxflags, options.env, ebuild_version)
189 if options.cros_workon:
190 cros_sdk_options = '--chrome_root={0}'.format(options.cros_workon)
193 options.chromeos_root,
199 if options.cros_workon and not cros_workon_keep:
201 options.board)
202 ret = cmd_executer.ChrootRunCommand(options.chromeos_root, command)
207 if options.no_build_image:
211 ret = cmd_executer.ChrootRunCommand(options.chromeos_root,
213 unmask_env, options.env,
215 options.board, dev=options.dev),
216 options.build_image_args))
222 options.chromeos_root, options.board, flags_file_name)
224 flags_file.write('CFLAGS={0}\n'.format(options.cflags))
225 flags_file.write('CXXFLAGS={0}\n'.format(options.cxxflags))
226 flags_file.write('LDFLAGS={0}\n'.format(options.ldflags))
229 if options.label:
231 options.chromeos_root, options.board)
236 options.label)
240 ret, 'Failed to apply symlink label %s' % options.label)