Exclude unused functions for NaCl code path.
An upcoming NaCl roll is going to update arm-nacl-gcc from 4.8.3 to version 4.9.2.
When -Wunused-function is specified, gcc 4.8.3 only warns unused static functions.
On the other hand, gcc 4.9.2 warns unused functions in anonymous namespace in addition to the unused static functions.
This change would cause compile errors because there are a few unused functions in anonymous namespace.
This CL fixes the compile errors of ARM build that the upcoming NaCl roll would cause.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3887
TEST=Locally update NaCl revision and ARM build succeeds.
Review URL: https://codereview.chromium.org/711343002
Cr-Commit-Position: refs/heads/master@{#303847}
CrOS-Libchrome-Original-Commit: 9cfbcfb3e00697d3663a5dbf4fd8c81ae6970d97
2 files changed