summaryrefslogtreecommitdiffstats
path: root/ppapi/native_client/src/trusted
diff options
context:
space:
mode:
authorjvoung@google.com <jvoung@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 05:04:16 +0000
committerjvoung@google.com <jvoung@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 05:04:16 +0000
commita5008540b7ff88b9547451a7d7751fc69d6f22ab (patch)
treee99e797432d5afcaa5543dd5daae1fe0cd9972cd /ppapi/native_client/src/trusted
parent03f4e0245d53ff6cdec36ff2de3b3cdb650ae187 (diff)
downloadchromium_src-a5008540b7ff88b9547451a7d7751fc69d6f22ab.zip
chromium_src-a5008540b7ff88b9547451a7d7751fc69d6f22ab.tar.gz
chromium_src-a5008540b7ff88b9547451a7d7751fc69d6f22ab.tar.bz2
Build nacl plugin with normal chromium warning levels (higher levels).
BUG= none TEST= compile / run nacl_integration Review URL: http://codereview.chromium.org/9355030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127643 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/native_client/src/trusted')
-rw-r--r--ppapi/native_client/src/trusted/plugin/plugin.gypi9
1 files changed, 8 insertions, 1 deletions
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.gypi b/ppapi/native_client/src/trusted/plugin/plugin.gypi
index e52b8bb..093cebf 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.gypi
+++ b/ppapi/native_client/src/trusted/plugin/plugin.gypi
@@ -1,9 +1,10 @@
-# Copyright (c) 2011 The Native Client Authors. All rights reserved.
+# Copyright (c) 2012 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
+ 'chromium_code': 1, # Use higher warning level.
'common_sources': [
'file_downloader.cc',
'json_manifest.cc',
@@ -52,6 +53,9 @@
'cflags': [
'-Wno-long-long',
],
+ 'cflags!': [
+ '-Wno-unused-parameter', # be a bit stricter to match NaCl flags.
+ ],
'conditions': [
['asan!=1', {
'ldflags': [
@@ -77,6 +81,9 @@
'cflags': [
'-Wno-long-long',
],
+ 'cflags!': [
+ '-Wno-unused-parameter', # be a bit stricter to match NaCl flags.
+ ],
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/Carbon.framework',