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

Unified Diff: native_client_sdk/src/build_tools/generate_make.py

Issue 10829027: [NaCl SDK] Add nacl_mounts to NaCl SDK build. Experimental for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for windows 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
Index: native_client_sdk/src/build_tools/generate_make.py
diff --git a/native_client_sdk/src/build_tools/generate_make.py b/native_client_sdk/src/build_tools/generate_make.py
index ac7d01ccebf607b434812a35082116646316d172..79286e41f3cedd8706dd732b9e448c060ff55d5b 100755
--- a/native_client_sdk/src/build_tools/generate_make.py
+++ b/native_client_sdk/src/build_tools/generate_make.py
@@ -283,7 +283,8 @@ DSC_FORMAT = {
'DATA': (list, '', False),
'TITLE': (str, '', False),
'DESC': (str, '', False),
- 'INFO': (str, '', False)
+ 'INFO': (str, '', False),
+ 'EXPERIMENTAL': (bool, [True, False], False)
}
@@ -527,6 +528,8 @@ def main(argv):
action='store_true', dest='pnacl', default=False)
parser.add_option('--host', help='Create host examples.',
action='store_true', dest='host', default=False)
+ parser.add_option('--experimental', help='Create experimental examples.',
+ action='store_true', dest='experimental', default=False)
toolchains = []
platform = getos.GetPlatform()
@@ -554,6 +557,10 @@ def main(argv):
print 'Skipping %s, not in [%s].' % (filename, ', '.join(toolchains))
continue
+ if desc.get('EXPERIMENTAL', False) and not options.experimental:
+ print 'Skipping %s, experimental only.' % (filename,)
+ continue
+
srcroot = os.path.dirname(os.path.abspath(filename))
if not ProcessProject(srcroot, options.dstroot, desc, toolchains):
ErrorExit('\n*** Failed to process project: %s ***' % filename)

Powered by Google App Engine
This is Rietveld 408576698