Lines Matching refs:pkgArgs
67 std::shared_ptr<OhosPkgArgs> pkgArgs = std::make_shared<OhosPkgArgs>();
69 if (!pkgArgs->ParseFromJson(preProcessor.vm_, preProcessor.runtimeOptions_.GetCompilerPkgJsonInfo())) {
73 preProcessor.mainPkgName_ = pkgArgs->GetFullName();
74 preProcessor.pkgsArgs_[preProcessor.mainPkgName_] = pkgArgs;
75 if (!ParseProfilerPath(pkgArgs, preProcessor, cOptions)) {
413 static bool ParseProfilerPath(std::shared_ptr<OhosPkgArgs> &pkgArgs, AotCompilerPreprocessor &preProcessor,
419 if (pkgArgs->GetPgoDir().empty() && !cOptions.profilerIn_.empty()) {
424 pkgArgs->SetPgoDir(ResolveDirPath(apFileNames.at(0)));
427 pkgArgs->GetPgoPaths(cOptions.isEnableBaselinePgo_, cOptions.profilerIn_, cOptions.needMerge_);
429 LOG_COMPILER(WARN) << "No available ap files found in " << pkgArgs->GetPgoDir();