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

Unified Diff: gclient_utils.py

Issue 1152163008: Drop support for buildtools/linux32 in the GN wrapper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient_utils.py
diff --git a/gclient_utils.py b/gclient_utils.py
index d2f0af683986ca573c1c67d1cb663f0593dbee3c..fbcbc262b2b1abe490026d054e4216055892f254 100644
--- a/gclient_utils.py
+++ b/gclient_utils.py
@@ -708,8 +708,6 @@ def GetBuildtoolsPath():
def GetBuildtoolsPlatformBinaryPath():
"""Returns the full path to the binary directory for the current platform."""
- # Mac and Windows just have one directory, Linux has two according to whether
- # it's 32 or 64 bits.
buildtools_path = GetBuildtoolsPath()
if not buildtools_path:
return None
@@ -719,10 +717,7 @@ def GetBuildtoolsPlatformBinaryPath():
elif sys.platform == 'darwin':
subdir = 'mac'
elif sys.platform.startswith('linux'):
- if sys.maxsize > 2**32:
subdir = 'linux64'
- else:
- subdir = 'linux32'
else:
raise Error('Unknown platform: ' + sys.platform)
return os.path.join(buildtools_path, subdir)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698