Lines Matching refs:Dir
19 Note that the build tree must be inside the project dir.
205 def runCleanupScript(Dir, PBuildLogFile):
206 Cwd = os.path.join(Dir, PatchedSourceDirName)
207 ScriptPath = os.path.join(Dir, CleanupScript)
211 def runDownloadScript(Dir, PBuildLogFile):
212 ScriptPath = os.path.join(Dir, DownloadScript)
213 runScript(ScriptPath, PBuildLogFile, Dir)
234 def downloadAndPatch(Dir, PBuildLogFile):
235 CachedSourceDirPath = os.path.join(Dir, CachedSourceDirName)
240 runDownloadScript(Dir, PBuildLogFile)
245 PatchedSourceDirPath = os.path.join(Dir, PatchedSourceDirName)
253 applyPatch(Dir, PBuildLogFile)
255 def applyPatch(Dir, PBuildLogFile):
256 PatchfilePath = os.path.join(Dir, PatchfileName)
257 PatchedSourceDirPath = os.path.join(Dir, PatchedSourceDirName)
275 def runScanBuild(Dir, SBOutputDir, PBuildLogFile):
276 BuildScriptPath = os.path.join(Dir, BuildScript)
286 SBCwd = os.path.join(Dir, PatchedSourceDirName)
343 def runAnalyzePreprocessed(Dir, SBOutputDir, Mode):
344 if os.path.exists(os.path.join(Dir, BuildScript)):
363 PlistPath = os.path.join(Dir, SBOutputDir, "date")
367 for FullFileName in glob.glob(Dir + "/*"):
385 check_call(Command, cwd = Dir, stderr=LogFile,
412 def buildProject(Dir, SBOutputDir, ProjectBuildMode, IsReferenceBuild):
436 downloadAndPatch(Dir, PBuildLogFile)
437 runCleanupScript(Dir, PBuildLogFile)
438 runScanBuild(Dir, SBOutputDir, PBuildLogFile)
440 runAnalyzePreprocessed(Dir, SBOutputDir, ProjectBuildMode)
443 runCleanupScript(Dir, PBuildLogFile)
452 Dir
454 PathPrefix = os.path.join(Dir, PatchedSourceDirName)
534 def runCmpResults(Dir, Strictness = 0):
537 RefDir = os.path.join(Dir, SBOutputDirReferencePrefix + SBOutputDirName)
538 NewDir = os.path.join(Dir, SBOutputDirName)
544 # Log folders are also located in the results dir, so ignore them.
573 PatchedSourceDirPath = os.path.join(Dir, PatchedSourceDirName)
637 def testProject(ID, ProjectBuildMode, IsReferenceBuild=False, Dir=None, Strictness = 0):
642 if Dir is None :
643 Dir = getProjectDir(ID)
645 print " Build directory: %s." % (Dir,)
649 SBOutputDir = os.path.join(Dir, RelOutputDir)
651 buildProject(Dir, SBOutputDir, ProjectBuildMode, IsReferenceBuild)
656 runCmpResults(Dir, Strictness)