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

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

Issue 924253002: [NaCL SDK] Add initial support for nacl-clang (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/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 b25d7b75e9420746318765313f6c08e3e5cdee82..bd49ccc9527e40f6d93593a86f25ba2abb1b2737 100755
--- a/native_client_sdk/src/build_tools/build_projects.py
+++ b/native_client_sdk/src/build_tools/build_projects.py
@@ -32,6 +32,7 @@ LIB_DICT = {
VALID_TOOLCHAINS = [
'bionic',
'newlib',
+ 'clang-newlib',
'glibc',
'pnacl',
'win',
@@ -99,6 +100,7 @@ def ValidateToolchains(toolchains):
buildbot_common.ErrorExit('Invalid toolchain(s): %s' % (
', '.join(invalid_toolchains)))
+
def GetDeps(projects):
out = {}
@@ -298,7 +300,7 @@ def main(args):
# be the first toolchain in this list that is available in the example.
# e.g. If an example supports newlib and glibc, then the default will be
# newlib.
- options.toolchain = ['pnacl', 'newlib', 'glibc', 'host']
+ options.toolchain = ['pnacl', 'newlib', 'glibc', 'host', 'clang-newlib']
if options.experimental or options.bionic:
options.toolchain.append('bionic')

Powered by Google App Engine
This is Rietveld 408576698