Chromium Code Reviews| Index: pylib/gyp/common.py |
| =================================================================== |
| --- pylib/gyp/common.py (revision 1416) |
| +++ pylib/gyp/common.py (working copy) |
| @@ -360,6 +360,9 @@ |
| flavor = flavors.get(sys.platform, 'linux') |
| return params.get('flavor', flavor) |
| +def GetHostOSFlavor(): |
|
Torne
2012/08/01 11:20:32
Probably better called GetHostFlavor() (and the va
|
| + """Returns | GetFlavor default avoiding override of params.flavor """ |
| + return GetFlavor({}) |
|
Torne
2012/08/01 11:20:32
There probably needs to be a way to set this in pa
|
| def CopyTool(flavor, out_path): |
| """Finds (mac|sun|win)_tool.gyp in the gyp directory and copies it |