Lines Matching refs:options
130 int GenerateBootImage(const Options& options) { in GenerateBootImage() argument
132 args.push_back(options.dex2oat_bin); in GenerateBootImage()
135 GetLibCoreDexFileNames(options.android_root, options.core_only); in GenerateBootImage()
136 std::vector<std::string> dex_locations = GetLibCoreDexLocations(options.core_only); in GenerateBootImage()
148 args.push_back("--instruction-set=" + options.instruction_set); in GenerateBootImage()
150 args.push_back("--compiler-filter=" + options.compiler_filter); in GenerateBootImage()
151 if (options.use_profile) { in GenerateBootImage()
152 args.push_back("--profile-file=" + options.profile_file); in GenerateBootImage()
161 std::string path = ART_FORMAT("{}/{}", options.output_dir, options.instruction_set); in GenerateBootImage()
169 options.dex2oat_options.begin(), options.dex2oat_options.end(), std::back_inserter(args)); in GenerateBootImage()
181 Options options; in Main() local
188 options.output_dir = arg; in Main()
190 options.compiler_filter = arg; in Main()
196 options.use_profile = result == ParseBoolResult::kTrue; in Main()
198 options.dex2oat_bin = arg; in Main()
201 options.android_root = arg; in Main()
203 options.profile_file = arg; in Main()
205 options.instruction_set = arg; in Main()
211 options.core_only = result == ParseBoolResult::kTrue; in Main()
214 options.dex2oat_options.push_back(argv[i]); in Main()
221 if (options.output_dir.empty()) { in Main()
225 if (options.dex2oat_bin.empty()) { in Main()
227 options.dex2oat_bin = GetCompilerExecutable(); in Main()
233 if (options.android_root.empty()) { in Main()
239 if (options.use_profile && options.profile_file.empty()) { in Main()
241 options.profile_file = ART_FORMAT("{}/etc/boot-image.prof", GetArtRoot()); in Main()
247 if (options.instruction_set.empty()) { in Main()
249 options.instruction_set = GetInstructionSetString(kRuntimeISA); in Main()
255 return GenerateBootImage(options); in Main()