Lines Matching refs:package
243 def __init__ (self, package): argument
244 self.package = package
247 packageComps = self.package.getPackageName(config).split('.')
250 return os.path.join(config.buildPath, self.package.getAppDirName(), "src", packageDir, "R.java")
422 def __init__ (self, package): argument
423 self.package = package
426 return [self.package.getResPath(), self.package.getManifestPath()]
429 return [[GeneratedResSourcePath(self.package)]]
433 dstDir = os.path.dirname(resolvePath(config, [GeneratedResSourcePath(self.package)]))
443 "-S", resolvePath(config, self.package.getResPath()),
444 "-M", resolvePath(config, self.package.getManifestPath()),
445 "-J", resolvePath(config, [BuildRoot(), self.package.getAppDirName(), "src"]),
451 def __init__ (self, package, libraries = []): argument
452 self.package = package
456 srcPaths = self.package.getSourcePaths()
458 if self.package.hasResources:
459 srcPaths.append([BuildRoot(), self.package.getAppDirName(), "src"]) # Generated sources
472 return [self.package.getClassesJarPath()]
477 jarPath = resolvePath(config, self.package.getClassesJarPath())
478 objPath = resolvePath(config, [BuildRoot(), self.package.getAppDirName(), "obj"])
514 def __init__ (self, package, libraries): argument
515 self.package = package
519 return [self.package.getClassesJarPath()] + [lib.getClassesJarPath() for lib in self.libraries]
522 return [self.package.getClassesDexPath()]
527 dexPath = resolvePath(config, self.package.getClassesDexPath())
528 jarPaths = [resolvePath(config, self.package.getClassesJarPath())]
565 def __init__ (self, package, libraries = []): argument
566 self.package = package
568 self.dstPath = [BuildRoot(), self.package.getAppDirName(), "tmp", "base.apk"]
572 for pkg in [self.package] + self.libraries:
578 return [self.package.getManifestPath()] + self.getResPaths()
594 "-M", resolvePath(config, self.package.getManifestPath()),
633 def __init__ (self, package): argument
634 self.package = package
635 self.srcPath = BuildBaseAPK(self.package).getOutputs()[0]
636 self.dstPath = [BuildRoot(), self.package.getAppDirName(), "tmp", "with-java.apk"]
641 self.package.getClassesDexPath(),
650 dexPath = resolvePath(config, self.package.getClassesDexPath())
656 def __init__ (self, package, abi): argument
657 self.package = package
659 self.srcPath = AddJavaToAPK(self.package).getOutputs()[0]
660 self.dstPath = [BuildRoot(), self.package.getAppDirName(), "tmp", "with-assets.apk"]
687 def __init__ (self, package, abis): argument
688 self.package = package
690 self.srcPath = AddAssetsToAPK(self.package, "").getOutputs()[0]
691 self.dstPath = [BuildRoot(), self.package.getAppDirName(), "tmp", "with-native-libs.apk"]
705 pkgPath = resolvePath(config, [BuildRoot(), self.package.getAppDirName()])
746 def __init__ (self, package): argument
747 self.package = package
748 self.srcPath = AddNativeLibsToAPK(self.package, []).getOutputs()[0]
749 self.dstPath = [BuildRoot(), self.package.getAppDirName(), "tmp", "signed.apk"]
772 def getBuildRootRelativeAPKPath (package): argument
773 return os.path.join(package.getAppDirName(), package.getAppName() + ".apk")
776 def __init__ (self, package): argument
777 self.package = package
778 self.srcPath = SignAPK(self.package).getOutputs()[0]
779 self.dstPath = [BuildRoot(), getBuildRootRelativeAPKPath(self.package)]
800 def getBuildStepsForPackage (abis, package, libraries = []): argument
816 if package.hasResources:
817 steps.append(GenResourcesSrc(package))
818 steps.append(BuildJavaSource(package, libraries))
819 steps.append(BuildDex(package, libraries))
822 steps.append(BuildBaseAPK(package, libraries))
823 steps.append(AddJavaToAPK(package))
826 steps.append(AddAssetsToAPK(package, abis[0]))
829 steps.append(AddNativeLibsToAPK(package, abis))
833 steps.append(SignAPK(package))
834 steps.append(FinalizeAPK(package))