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

Unified Diff: grit/node/base.py

Issue 15051003: Support android as a target platform. (Closed) Base URL: https://grit-i18n.googlecode.com/svn/trunk
Patch Set: Created 7 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 | grit_info.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit/node/base.py
diff --git a/grit/node/base.py b/grit/node/base.py
index e38ec0d0aeffedf6f53b8580112771fcbf4a2234..3d23c6a3aa0771d232432bc781b6567de1d8e9b8 100644
--- a/grit/node/base.py
+++ b/grit/node/base.py
@@ -458,8 +458,10 @@ class Node(object):
'is_linux': target_platform.startswith('linux'),
'is_macosx': target_platform == 'darwin',
'is_win': target_platform in ('cygwin', 'win32'),
- 'is_posix': (target_platform in ('darwin', 'linux2', 'linux3', 'sunos5')
- or 'bsd' in target_platform),
+ 'is_android': target_platform == 'android',
+ 'is_posix': (target_platform in ('darwin', 'linux2', 'linux3', 'sunos5',
+ 'android')
+ or 'bsd' in target_platform),
'pp_ifdef' : pp_ifdef,
'pp_if' : pp_if,
}
« no previous file with comments | « no previous file | grit_info.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698