Turn off jumbo for everything built with the nacl toolchain
nacl is using an old toolchain and it seem there are constructs in the current code it cannot handle. Rather than chasing those down, just disable jumbo for everything built with the nacl toolchain. Example error: In file included from newlib_pnacl_nonsfi/gen/ipc/ipc_jumbo_1.cc:7: In file included from ./../../ipc/ipc_channel_common.cc:6: In file included from ../../ipc/ipc_channel.h:14: In file included from ../../base/bind.h:10: In file included from ../../base/bind_internal.h:17: ../../base/memory/raw_scoped_refptr_mismatch_checker.h:30:61: error: 'AddRef' is a private member of 'scoped_refptr<IPC::ChannelProxy::Context>' void_t<decltype(std::declval<T*>()->AddRef()), ^ ../../base/bind_internal.h:905:11: note: in instantiation of template class 'base::internal::IsRefCountedType<IPC::SyncChannel::ReceivedSyncMsgQueue, void>' requested here IsRefCountedType<std::remove_pointer_t<DecayedReceiver>>::value, ^ ../../base/bind_internal.h:922:1: note: in instantiation of template class 'base::internal::MakeBindStateTypeImpl<true, void (IPC::SyncChannel::ReceivedSyncMsgQueue::*)(IPC::SyncChannel::SyncContext *), IPC::SyncChannel::ReceivedSyncMsgQueue *, base::internal::RetainedRefWrapper<IPC::SyncChannel::SyncContext> >' requested here using MakeBindStateType = ^ ../../base/bind.h:247:31: note: in instantiation of template type alias 'MakeBindStateType' requested here using BindState = internal::MakeBindStateType<Functor, Args...>; ^ ../../base/bind.h:270:16: note: in instantiation of function template specialization 'base::BindRepeating<void (IPC::SyncChannel::ReceivedSyncMsgQueue::*)(IPC::SyncChannel::SyncContext *), IPC::SyncChannel::ReceivedSyncMsgQueue *, base::internal::RetainedRefWrapper<IPC::SyncChannel::SyncContext> >' requested here return base::BindRepeating(std::forward<Functor>(functor), ^ ./../../ipc/ipc_sync_channel.cc:175:28: note: in instantiation of function template specialization 'base::Bind<void (IPC::SyncChannel::ReceivedSyncMsgQueue::*)(IPC::SyncChannel::SyncContext *), IPC::SyncChannel::ReceivedSyncMsgQueue *, base::internal::RetainedRefWrapper<IPC::SyncChannel::SyncContext> >' requested here FROM_HERE, base::Bind(&ReceivedSyncMsgQueue::DispatchMessagesTask, ^ ../../base/memory/scoped_refptr.h:277:15: note: declared private here static void AddRef(T* ptr); ^ Change-Id: I82a13431a74c743cc3ad20c6d4308e2986d88a5c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1474947 Commit-Queue: Daniel Bratell <bratell@opera.com> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#681247}
Showing
Please register or sign in to comment