Lines Matching refs:package
258 def __init__ (self, package):
259 self.package = package
262 packageComps = self.package.getPackageName(config).split('.')
265 return os.path.join(config.buildPath, self.package.getAppDirName(), "src", packageDir, "R.java")
401 if not 'package' in tree.getroot().attrib:
402 raise Exception("'package' attribute missing from root element in %s" % manifestPath)
404 return tree.getroot().attrib['package']
463 def __init__ (self, package):
464 self.package = package
467 return [self.package.getResPath(), self.package.getManifestPath()]
470 return [[GeneratedResSourcePath(self.package)]]
474 dstDir = os.path.dirname(resolvePath(config, [GeneratedResSourcePath(self.package)]))
481 "package",
484 "-S", resolvePath(config, self.package.getResPath()),
485 "-M", resolvePath(config, self.package.getManifestPath()),
486 "-J", resolvePath(config, [BuildRoot(), self.package.getAppDirName(), "src"]),
492 def __init__ (self, package, libraries = []):
493 self.package = package
497 srcPaths = self.package.getSourcePaths()
499 if self.package.hasResources:
500 srcPaths.append([BuildRoot(), self.package.getAppDirName(), "src"]) # Generated sources
513 return [self.package.getClassesJarPath()]
518 jarPath = resolvePath(config, self.package.getClassesJarPath())
519 objPath = resolvePath(config, [BuildRoot(), self.package.getAppDirName(), "obj"])
555 def __init__ (self, package, libraries):
556 self.package = package
560 return [self.package.getClassesJarPath()] + [lib.getClassesJarPath() for lib in self.libraries]
563 return [self.package.getClassesDexPath()]
567 dexPath = resolvePath(config, self.package.getClassesDexDirectory())
568 jarPaths = [resolvePath(config, self.package.getClassesJarPath())]
610 def __init__ (self, package, libraries = []):
611 self.package = package
613 self.dstPath = [BuildRoot(), self.package.getAppDirName(), "tmp", "base.apk"]
617 for pkg in [self.package] + self.libraries:
623 return [self.package.getManifestPath()] + self.getResPaths()
637 "package",
641 "-M", resolvePath(config, self.package.getManifestPath()),
684 def __init__ (self, package):
685 self.package = package
686 self.srcPath = BuildBaseAPK(self.package).getOutputs()[0]
687 self.dstPath = [BuildRoot(), self.package.getAppDirName(), "tmp", "with-java.apk"]
692 self.package.getClassesDexPath(),
701 dexPath = resolvePath(config, self.package.getClassesDexPath())
707 def __init__ (self, package, abi):
708 self.package = package
710 self.srcPath = AddJavaToAPK(self.package).getOutputs()[0]
711 self.dstPath = [BuildRoot(), self.package.getAppDirName(), "tmp", "with-assets.apk"]
738 def __init__ (self, package, abis):
739 self.package = package
741 self.srcPath = AddAssetsToAPK(self.package, "").getOutputs()[0]
742 self.dstPath = [BuildRoot(), self.package.getAppDirName(), "tmp", "with-native-libs.apk"]
756 pkgPath = resolvePath(config, [BuildRoot(), self.package.getAppDirName()])
798 def __init__ (self, package):
799 self.package = package
800 self.srcPath = AlignAPK(self.package).getOutputs()[0]
801 self.dstPath = [BuildRoot(), getBuildRootRelativeAPKPath(self.package)]
828 def getBuildRootRelativeAPKPath (package):
829 return os.path.join(package.getAppDirName(), package.getAppName() + ".apk")
832 def __init__ (self, package):
833 self.package = package
834 self.srcPath = AddNativeLibsToAPK(self.package, []).getOutputs()[0]
835 self.dstPath = [BuildRoot(), self.package.getAppDirName(), "tmp", "aligned.apk"]
856 def getBuildStepsForPackage (abis, package, libraries = []):
871 # Build main package .java sources
872 if package.hasResources:
873 steps.append(GenResourcesSrc(package))
874 steps.append(BuildJavaSource(package, libraries))
875 steps.append(BuildDex(package, libraries))
878 steps.append(BuildBaseAPK(package, libraries))
879 steps.append(AddJavaToAPK(package))
882 steps.append(AddAssetsToAPK(package, abis[0]))
885 steps.append(AddNativeLibsToAPK(package, abis))
889 steps.append(AlignAPK(package))
890 steps.append(SignAPK(package))
895 deqpPackage = PackageDescription("package", "dEQP")