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

Issue 664373003: Introduce OS_NACL_SFI and OS_NACL_NONSFI macros. (Closed)

Created:
6 years, 1 month ago by hidehiko
Modified:
6 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, hamaji, mazda
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Introduce OS_NACL_SFI and OS_NACL_NONSFI macros. PNaCl toolchain starts to support "Non-SFI build binary" mode. Some sources are built both for SFI binary and for Non-SFI binary, but, in some cases, there are small diffs which need to be guarded by #ifdef. In "Non-SFI build binary" mode, __native_client_nonsfi__ is defined. This CL introduce OS_NACL_SFI and OS_NACL_NONSFI which can be used among the chrome code, to slightly simplify the #ifdef conditions. This CL is the follow up of crrev.com/659243002 BUG=358465 TEST=Ran trybot. Committed: https://crrev.com/f7295f2e7b0c17a7784f23e06b924ab966fea3a8 Cr-Commit-Position: refs/heads/master@{#301603}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Rebase #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -8 lines) Patch
M PRESUBMIT.py View 1 1 chunk +2 lines, -0 lines 0 comments Download
M build/build_config.h View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download
M ipc/ipc_channel.h View 2 chunks +2 lines, -3 lines 0 comments Download
M ipc/ipc_channel_proxy.h View 1 chunk +1 line, -2 lines 0 comments Download
M ipc/ipc_channel_proxy.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
hidehiko
This CL is follow up for crrev.com/659243002. Mark, Junichi, could you review from project points ...
6 years, 1 month ago (2014-10-27 09:43:37 UTC) #2
Paweł Hajdan Jr.
PRESUBMIT LGTM
6 years, 1 month ago (2014-10-27 11:45:53 UTC) #3
Junichi Uekawa
lgtm thanks, the conditions look much more parse-able.
6 years, 1 month ago (2014-10-27 12:13:56 UTC) #4
Junichi Uekawa
https://codereview.chromium.org/664373003/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/664373003/diff/1/PRESUBMIT.py#newcode269 PRESUBMIT.py:269: 'OS_NACL_NONSFI', sort ? https://codereview.chromium.org/664373003/diff/1/build/build_config.h File build/build_config.h (right): https://codereview.chromium.org/664373003/diff/1/build/build_config.h#newcode23 build/build_config.h:23: ...
6 years, 1 month ago (2014-10-27 12:14:08 UTC) #5
hidehiko
Thank you for review. PTAL. https://codereview.chromium.org/664373003/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/664373003/diff/1/PRESUBMIT.py#newcode269 PRESUBMIT.py:269: 'OS_NACL_NONSFI', On 2014/10/27 12:14:08, ...
6 years, 1 month ago (2014-10-27 13:11:53 UTC) #6
Mark Seaborn
Can you change the other conditionals using __native_client_nonsfi__ too? (Either in this change or in ...
6 years, 1 month ago (2014-10-27 15:53:59 UTC) #7
dmichael (off chromium)
lgtm
6 years, 1 month ago (2014-10-27 15:57:28 UTC) #8
Junichi Uekawa
lgtm
6 years, 1 month ago (2014-10-28 07:18:05 UTC) #9
hidehiko
Thank you for review. Submitting... Mark, I'm planning to send another follow-up CL to clean ...
6 years, 1 month ago (2014-10-28 08:07:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/664373003/60001
6 years, 1 month ago (2014-10-28 08:08:03 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-10-28 11:57:29 UTC) #13
commit-bot: I haz the power
6 years, 1 month ago (2014-10-28 11:58:10 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f7295f2e7b0c17a7784f23e06b924ab966fea3a8
Cr-Commit-Position: refs/heads/master@{#301603}

Powered by Google App Engine
This is Rietveld 408576698