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

Issue 924253002: [NaCL SDK] Add initial support for nacl-clang (Closed)

Created:
5 years, 10 months ago by Sam Clegg
Modified:
5 years, 10 months ago
Reviewers:
bradnelson, bradn, binji
CC:
chromium-reviews, binji+watch_chromium.org, Derek Schuff
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NaCL SDK] Add initial support for nacl-clang This adds 'clang-newlib' as new possible value for $TOOLCHAIN and enables building of most examples and libraries with the new toolchain. Initially adding without ARM support. ARM support will follow shortly. Also, update buildbot_common.py to output shorter filenames (making output easier to read). BUG=454962 Committed: https://crrev.com/edbe84670e56798b194943dd567a9c38e1d41a6b Cr-Commit-Position: refs/heads/master@{#316672}

Patch Set 1 #

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -57 lines) Patch
M native_client_sdk/src/BUILDING.rst View 1 chunk +2 lines, -2 lines 0 comments Download
M native_client_sdk/src/build_tools/build_projects.py View 3 chunks +3 lines, -1 line 0 comments Download
M native_client_sdk/src/build_tools/build_sdk.py View 15 chunks +47 lines, -23 lines 8 comments Download
M native_client_sdk/src/build_tools/buildbot_common.py View 3 chunks +14 lines, -7 lines 3 comments Download
M native_client_sdk/src/build_tools/parse_dsc.py View 1 chunk +1 line, -0 lines 0 comments Download
M native_client_sdk/src/build_tools/sdk_files.list View 2 chunks +60 lines, -0 lines 0 comments Download
M native_client_sdk/src/build_tools/test_projects.py View 1 chunk +9 lines, -1 line 0 comments Download
M native_client_sdk/src/build_tools/test_sdk.py View 2 chunks +2 lines, -2 lines 0 comments Download
M native_client_sdk/src/examples/demo/life/example.dsc View 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/examples/demo/nacl_io_demo/example.dsc View 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/examples/demo/pi_generator/example.dsc View 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/examples/tutorial/testing/example.dsc View 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/examples/tutorial/using_ppapi_simple/example.dsc View 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/library.dsc View 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/libraries/ppapi_simple/library.dsc View 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/example.dsc View 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/tests/sdk_util_test/example.dsc View 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/tools/common.mk View 2 chunks +3 lines, -3 lines 0 comments Download
M native_client_sdk/src/tools/nacl_config.py View 6 chunks +11 lines, -6 lines 0 comments Download
M native_client_sdk/src/tools/nacl_gcc.mk View 3 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Sam Clegg
5 years, 10 months ago (2015-02-14 01:42:33 UTC) #2
Derek Schuff
most of this code is unfamiliar to me. I'm happy to look through it and ...
5 years, 10 months ago (2015-02-17 17:52:26 UTC) #3
Sam Clegg
On 2015/02/17 17:52:26, Derek Schuff wrote: > most of this code is unfamiliar to me. ...
5 years, 10 months ago (2015-02-17 18:35:58 UTC) #4
bradn
https://codereview.chromium.org/924253002/diff/1/native_client_sdk/src/build_tools/build_sdk.py File native_client_sdk/src/build_tools/build_sdk.py (right): https://codereview.chromium.org/924253002/diff/1/native_client_sdk/src/build_tools/build_sdk.py#newcode451 native_client_sdk/src/build_tools/build_sdk.py:451: xarches = (None, 'ia32', 'x64') why isn't arm in ...
5 years, 10 months ago (2015-02-17 20:21:49 UTC) #7
Sam Clegg
https://codereview.chromium.org/924253002/diff/1/native_client_sdk/src/build_tools/build_sdk.py File native_client_sdk/src/build_tools/build_sdk.py (right): https://codereview.chromium.org/924253002/diff/1/native_client_sdk/src/build_tools/build_sdk.py#newcode451 native_client_sdk/src/build_tools/build_sdk.py:451: xarches = (None, 'ia32', 'x64') On 2015/02/17 20:21:48, bradn ...
5 years, 10 months ago (2015-02-17 20:31:13 UTC) #8
bradn
lgtm If arm proves tricky, feel free to land as is, and add in a ...
5 years, 10 months ago (2015-02-17 20:33:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/924253002/1
5 years, 10 months ago (2015-02-17 22:17:38 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-17 22:22:50 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/edbe84670e56798b194943dd567a9c38e1d41a6b Cr-Commit-Position: refs/heads/master@{#316672}
5 years, 10 months ago (2015-02-17 22:23:45 UTC) #13
binji
5 years, 10 months ago (2015-02-20 18:34:23 UTC) #15
Message was sent while issue was closed.
lgtm w/ a couple nits

https://codereview.chromium.org/924253002/diff/1/native_client_sdk/src/build_...
File native_client_sdk/src/build_tools/build_sdk.py (right):

https://codereview.chromium.org/924253002/diff/1/native_client_sdk/src/build_...
native_client_sdk/src/build_tools/build_sdk.py:109: print arch
remove?

https://codereview.chromium.org/924253002/diff/1/native_client_sdk/src/build_...
native_client_sdk/src/build_tools/build_sdk.py:537: out_dir, force_arm_gcc=True,
gyp_defines=None):
force_arm_gcc is never used...?

Powered by Google App Engine
This is Rietveld 408576698