Lines Matching refs:argv
394 bool CommonRuntimeTestImpl::StartDex2OatCommandLine(/*out*/std::vector<std::string>* argv, in StartDex2OatCommandLine() argument
397 DCHECK(argv != nullptr); in StartDex2OatCommandLine()
398 DCHECK(argv->empty()); in StartDex2OatCommandLine()
406 argv->push_back(runtime->GetCompilerExecutable()); in StartDex2OatCommandLine()
408 argv->push_back("--debuggable"); in StartDex2OatCommandLine()
410 runtime->AddCurrentRuntimeFeaturesAsDex2OatArguments(argv); in StartDex2OatCommandLine()
413 argv->push_back("--runtime-arg"); in StartDex2OatCommandLine()
414 argv->push_back(GetClassPathOption("-Xbootclasspath:", GetLibCoreDexFileNames())); in StartDex2OatCommandLine()
415 argv->push_back("--runtime-arg"); in StartDex2OatCommandLine()
416 argv->push_back(GetClassPathOption("-Xbootclasspath-locations:", GetLibCoreDexLocations())); in StartDex2OatCommandLine()
421 argv->push_back("--boot-image=" + image_spaces[0]->GetImageLocation()); in StartDex2OatCommandLine()
425 argv->insert(argv->end(), compiler_options.begin(), compiler_options.end()); in StartDex2OatCommandLine()
436 std::vector<std::string> argv { in CompileBootImage() local
447 argv.push_back("--dex-file=" + dex_file); in CompileBootImage()
450 argv.push_back("--dex-location=" + dex_location); in CompileBootImage()
453 argv.push_back("--debuggable"); in CompileBootImage()
455 runtime->AddCurrentRuntimeFeaturesAsDex2OatArguments(&argv); in CompileBootImage()
458 argv.push_back("--host"); in CompileBootImage()
468 argv.push_back("--image-fd=" + std::to_string(art_file->Fd())); in CompileBootImage()
469 argv.push_back("--output-vdex-fd=" + std::to_string(vdex_file->Fd())); in CompileBootImage()
470 argv.push_back("--oat-fd=" + std::to_string(oat_file->Fd())); in CompileBootImage()
471 argv.push_back("--oat-location=" + image_file_name_prefix + ".oat"); in CompileBootImage()
473 argv.push_back("--image=" + image_file_name_prefix + ".art"); in CompileBootImage()
474 argv.push_back("--oat-file=" + image_file_name_prefix + ".oat"); in CompileBootImage()
475 argv.push_back("--oat-location=" + image_file_name_prefix + ".oat"); in CompileBootImage()
479 argv.insert(argv.end(), compiler_options.begin(), compiler_options.end()); in CompileBootImage()
484 argv.push_back("--android-root=" + std::string(android_root)); in CompileBootImage()
485 argv.insert(argv.end(), extra_args.begin(), extra_args.end()); in CompileBootImage()
487 bool result = RunDex2Oat(argv, error_msg); in CompileBootImage()