Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(614)

Unified Diff: lib/naclports/source_package.py

Issue 1285953002: Switch devenv to use pkg packages (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@toolchain_install
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/naclports/source_package.py
diff --git a/lib/naclports/source_package.py b/lib/naclports/source_package.py
index e2d5801c3c24f57fdb2e2ddfb728f562cd233245..0bb857a42c5917f659d28f0b72a9902bf8a0f8df 100644
--- a/lib/naclports/source_package.py
+++ b/lib/naclports/source_package.py
@@ -291,9 +291,7 @@ class SourcePackage(package.Package):
def CreatePkgFile(self):
"""Create and pkg file for use with the FreeBSD pkg tool.
- This step is designed to run after the build scripts and will
- package up any files published by the PublishByArchForDevEnv
- step.
+ Create a package from the result of the package's InstallStep.
"""
install_dir = self.GetInstallLocation()
if not os.path.exists(install_dir):
@@ -305,9 +303,7 @@ class SourcePackage(package.Package):
abi_dir = os.path.join(paths.PUBLISH_ROOT, abi)
pkg_file = os.path.join(abi_dir, '%s-%s.tbz' % (self.NAME,
self.VERSION))
-
util.Makedirs(abi_dir)
-
bsd_pkg.CreatePkgFile(self.NAME, self.VERSION, self.config.arch,
self.GetInstallLocation(), pkg_file)
« no previous file with comments | « build_tools/common.sh ('k') | ports/avrdude/build.sh » ('j') | ports/devenv/package » ('J')

Powered by Google App Engine
This is Rietveld 408576698