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

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

Issue 17261007: [NaCl SDK] .dsc files copy public headers, add ppapi_cpp dev sources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/parse_dsc.py
diff --git a/native_client_sdk/src/build_tools/parse_dsc.py b/native_client_sdk/src/build_tools/parse_dsc.py
index fb04af895161fbd32ee612b7a54dd5d45e463ad6..f26b908ef4e9d69ec5e52cb2f8876f5be36501c8 100755
--- a/native_client_sdk/src/build_tools/parse_dsc.py
+++ b/native_client_sdk/src/build_tools/parse_dsc.py
@@ -9,12 +9,13 @@ import optparse
import os
import sys
+VALID_TOOLCHAINS = ['newlib', 'glibc', 'pnacl', 'win', 'linux', 'mac']
+
# 'KEY' : ( <TYPE>, [Accepted Values], <Required?>)
DSC_FORMAT = {
'DISABLE': (bool, [True, False], False),
'DISABLE_PACKAGE': (bool, [True, False], False),
- 'TOOLS' : (list, ['newlib:arm', 'newlib:x64', 'newlib:x86', 'newlib',
- 'glibc', 'pnacl', 'win', 'linux'], True),
+ 'TOOLS' : (list, VALID_TOOLCHAINS, True),
'CONFIGS' : (list, ['Debug', 'Release'], False),
'PREREQ' : (list, '', False),
'TARGETS' : (list, {

Powered by Google App Engine
This is Rietveld 408576698