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

Side by Side Diff: third_party/recipe_engine/recipe_modules/platform/api.py

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved show_me_the_modules into recipe_engine 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium 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 import sys 5 import sys
6 import platform 6 import platform
7 7
8 from recipe_engine import recipe_api 8 from recipe_engine import recipe_api
9 9
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 return self._bits 83 return self._bits
84 84
85 @property 85 @property
86 def arch(self): 86 def arch(self):
87 return self._arch 87 return self._arch
88 88
89 @staticmethod 89 @staticmethod
90 def normalize_platform_name(platform): 90 def normalize_platform_name(platform):
91 """One of python's sys.platform values -> 'win', 'linux' or 'mac'.""" 91 """One of python's sys.platform values -> 'win', 'linux' or 'mac'."""
92 return norm_plat(platform) # pragma: no cover 92 return norm_plat(platform) # pragma: no cover
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698