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, { |