Lines Matching refs:path

50 def removeLeadingPath (path, basePath):
52 assert os.path.normpath(path) == path
53 assert os.path.normpath(basePath) == basePath
54 return path[len(basePath) + 1:]
58 if os.path.exists(file):
64 basePath = os.path.normpath(basePath)
67 relPath = removeLeadingPath(os.path.normpath(os.path.join(root, file)), basePath)
103 dirName = os.path.dirname(self.dstFile)
104 if not os.path.exists(dirName):
117 if os.path.exists(self.dstFile):
128 scriptPath = os.path.normpath(os.path.join(packageBuildInfo.srcBasePath, "framework", "qphelper", "gen_release_info.py"))
167 targets.append(createFileObj(os.path.join(srcBasePath, file), os.path.join(dstBasePath, file)))
180 fullSrcPath = os.path.normpath(os.path.join(self.getSrcBasePath(packageBuildInfo), self.srcBasePath))
181 fullDstPath = os.path.normpath(os.path.join(packageBuildInfo.dstBasePath, self.dstBasePath))
198 fullSrcPath = os.path.normpath(os.path.join(packageBuildInfo.srcBasePath, self.srcFile))
199 fullDstPath = os.path.normpath(os.path.join(packageBuildInfo.dstBasePath, self.dstFile))
213 # Create config with full build dir path
214 config = BuildConfig(os.path.join(packageBuildInfo.getTmpBasePath(), self.baseConfig.getBuildDir()),
217 srcPath = os.path.join(packageBuildInfo.dstBasePath, "src"))
219 assert not os.path.exists(config.getBuildDir())
229 buildRoot = os.path.join(packageBuildInfo.tmpBasePath, "android-build")
231 assert not os.path.exists(buildRoot)
235 scriptPath = os.path.normpath(os.path.join(packageBuildInfo.dstBasePath, "src", "android", "scripts", "build.py"))
243 srcFile = os.path.normpath(os.path.join(buildRoot, "package", "bin", "dEQP-debug.apk"))
244 dstFile = os.path.normpath(os.path.join(packageBuildInfo.dstBasePath, self.dstFile))
253 scriptPath = os.path.normpath(os.path.join(packageBuildInfo.dstBasePath, "src", "external", "fetch_sources.py"))
265 shutil.rmtree(os.path.join(packageBuildInfo.dstBasePath, "src"), ignore_errors=False)
296 components = os.path.normpath(filename).split(os.sep)
327 dirName = os.path.join(tempfile.gettempdir(), "dEQP-Releases")
328 if not os.path.exists(dirName):
336 dstBasePath = os.path.join(tmpPath, releaseName)
337 tmpBasePath = os.path.join(tmpPath, releaseName + "-tmp")
344 for path in [dstBasePath, tmpBasePath]:
345 if os.path.exists(path):
346 shutil.rmtree(path, ignore_errors=False)
355 shutil.rmtree(os.path.join(dstBasePath, "src"), ignore_errors=False)
364 for path in [dstBasePath, tmpBasePath]:
365 if os.path.exists(path):
366 shutil.rmtree(path, ignore_errors=False)
463 COMMON_BUILD_ARGS = ['-DPNG_SRC_PATH=%s' % os.path.realpath(os.path.join(DEQP_DIR, '..', 'libpng'))]