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

Unified Diff: pylib/gyp/common.py

Issue 10795044: Support Mac android cross compile. Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 5 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 | pylib/gyp/generator/make.py » ('j') | pylib/gyp/generator/make.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | pylib/gyp/generator/make.py » ('j') | pylib/gyp/generator/make.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698