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

Unified Diff: mojo/tools/mopy/config.py

Issue 1348493002: Add fnl build target (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 3 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 | « mojo/tools/mojob.py ('k') | mojo/tools/mopy/gn.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/mopy/config.py
diff --git a/mojo/tools/mopy/config.py b/mojo/tools/mopy/config.py
index a0df490a2a10288c882c9023a07e8956bf284edb..dfd0ac6076734b16a18e1985e7f1df1430c15a14 100644
--- a/mojo/tools/mopy/config.py
+++ b/mojo/tools/mopy/config.py
@@ -17,6 +17,7 @@ class Config(object):
# Valid values for target_os (None is also valid):
OS_ANDROID = "android"
+ OS_FNL = "fnl"
OS_IOS = "ios"
OS_LINUX = "linux"
OS_MAC = "mac"
@@ -43,9 +44,9 @@ class Config(object):
"""Constructs a Config with key-value pairs specified via keyword arguments.
If target_os is not specified, it will be set to the host OS."""
- assert target_os in (None, Config.OS_ANDROID, Config.OS_IOS,
- Config.OS_LINUX, Config.OS_MAC,
- Config.OS_WINDOWS)
+ assert target_os in (None, Config.OS_ANDROID, Config.OS_FNL,
+ Config.OS_IOS, Config.OS_LINUX,
+ Config.OS_MAC, Config.OS_WINDOWS)
assert target_cpu in (None, Config.ARCH_X86, Config.ARCH_X64,
Config.ARCH_ARM)
assert isinstance(is_debug, bool)
« no previous file with comments | « mojo/tools/mojob.py ('k') | mojo/tools/mopy/gn.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698