DescriptionIntroduce 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 : #
Messages
Total messages: 14 (2 generated)
|