Index: native_client_sdk/src/build_tools/build_projects.py |
diff --git a/native_client_sdk/src/build_tools/build_projects.py b/native_client_sdk/src/build_tools/build_projects.py |
index 8ca133d7db4c1f14ebab53e76b5f3054f886db23..3ca794199f2c9c4c9bd64e63315cd25de05de737 100755 |
--- a/native_client_sdk/src/build_tools/build_projects.py |
+++ b/native_client_sdk/src/build_tools/build_projects.py |
@@ -29,7 +29,15 @@ LIB_DICT = { |
'mac': [], |
'win': ['x86_32'] |
} |
-VALID_TOOLCHAINS = ['newlib', 'glibc', 'pnacl', 'win', 'linux', 'mac'] |
+VALID_TOOLCHAINS = [ |
+ 'bionic', |
+ 'newlib', |
+ 'glibc', |
+ 'pnacl', |
+ 'win', |
+ 'linux', |
+ 'mac', |
+] |
# Global verbosity setting. |
# If set to try (normally via a command line arg) then build_projects will |
@@ -243,6 +251,8 @@ def main(argv): |
# e.g. If an example supports newlib and glibc, then the default will be |
# newlib. |
options.toolchain = ['pnacl', 'newlib', 'glibc', 'host'] |
+ if options.experimental: |
+ options.toolchain.append('bionic') |
Sam Clegg
2014/02/18 20:27:21
Maybe the --bionic option should be used here, lik
noelallen1
2014/02/18 20:43:39
There are two things going on here.
1- We alread
|
if 'host' in options.toolchain: |
options.toolchain.remove('host') |