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

Side by Side Diff: lib/naclports/__init__.py

Issue 839083003: Add initial support for color output in the build system (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « PRESUBMIT.py ('k') | lib/naclports/__main__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2013 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from naclports.error import Error, PkgFormatError, DisabledError 5 from naclports.error import Error, PkgFormatError, DisabledError
6 from naclports.pkg_info import ParsePkgInfoFile, ParsePkgInfo 6 from naclports.pkg_info import ParsePkgInfoFile, ParsePkgInfo
7 from naclports.util import Log, Trace, Warn, DownloadFile, SetVerbose 7 from naclports.util import Log, Trace, Warn, DownloadFile, SetVerbose
8 from naclports.util import GetInstallRoot, InstallLock, BuildLock, IsInstalled 8 from naclports.util import GetInstallRoot, InstallLock, BuildLock, IsInstalled
9 from naclports.util import GS_BUCKET, GS_URL 9 from naclports.util import GS_BUCKET, GS_URL
10 from naclports.paths import NACLPORTS_ROOT, OUT_DIR, TOOLS_DIR, PACKAGES_ROOT 10 from naclports.paths import NACLPORTS_ROOT, OUT_DIR, TOOLS_DIR, PACKAGES_ROOT
11 from naclports.paths import BUILD_ROOT, STAMP_DIR, PUBLISH_ROOT 11 from naclports.paths import BUILD_ROOT, STAMP_DIR, PUBLISH_ROOT
12
13 import colorama
14 colorama.init()
OLDNEW
« no previous file with comments | « PRESUBMIT.py ('k') | lib/naclports/__main__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698