Lines Matching refs:options
101 options = parser.parse_args(argv)
103 if options.chromeos_root is None:
106 if options.board is None:
109 if options.version is None:
114 chrome_version = 'CHROME_VERSION=%s' % options.version
116 if options.dev and options.no_build_image:
120 if options.debug:
121 options.dev = True
123 options.chromeos_root = misc.CanonicalizePath(options.chromeos_root)
126 if options.ebuild_version:
127 ebuild_version = '=%s' % options.ebuild_version
128 options.env = '%s %s' % (options.env, unmask_env)
132 if options.cros_workon and not (
133 os.path.isdir(options.cros_workon) and os.path.exists(os.path.join(
134 options.cros_workon, 'src/chromeos/chromeos.gyp'))):
137 if options.verbose:
138 options.env = misc.MergeEnvStringWithDict(
139 options.env, {'USE': 'chrome_internal verbose'})
141 options.env = misc.MergeEnvStringWithDict(options.env,
143 if options.debug:
144 options.env = misc.MergeEnvStringWithDict(options.env,
147 if options.clean:
148 misc.RemoveChromeBrowserObjectFiles(options.chromeos_root, options.board)
151 if options.cros_workon:
154 options.board)
155 ret = cmd_executer.ChrootRunCommandWOutput(options.chromeos_root, command)
174 chrome_origin, chrome_version, options.board,
175 options.cflags, options.ldflags,
176 options.cxxflags, options.env, ebuild_version)
179 if options.cros_workon:
180 cros_sdk_options = '--chrome_root={0}'.format(options.cros_workon)
182 ret = cmd_executer.ChrootRunCommand(options.chromeos_root,
188 if options.cros_workon and not cros_workon_keep:
190 options.board)
191 ret = cmd_executer.ChrootRunCommand(options.chromeos_root, command)
196 if options.no_build_image:
201 options.chromeos_root,
203 options.env,
204 misc.GetBuildImageCommand(options.board,
205 dev=options.dev),
206 options.build_image_args))
212 options.chromeos_root, options.board, flags_file_name)
214 flags_file.write('CFLAGS={0}\n'.format(options.cflags))
215 flags_file.write('CXXFLAGS={0}\n'.format(options.cxxflags))
216 flags_file.write('LDFLAGS={0}\n'.format(options.ldflags))
219 if options.label:
221 options.chromeos_root, options.board)
226 options.label)
230 options.label)