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

Side by Side Diff: build/standalone_flags.gypi

Issue 11363175: Honor werror variable for untrusted builds. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/build_nexe.py ('k') | build/untrusted.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 # These flags are only included in the NaCl standalone build. 7 # These flags are only included in the NaCl standalone build.
8 # They won't get included when NaCl is built as part of another 8 # They won't get included when NaCl is built as part of another
9 # project, such as Chrome. We don't necessarily want to enable 9 # project, such as Chrome. We don't necessarily want to enable
10 # these flags for Chrome source that is built as NaCl untrusted 10 # these flags for Chrome source that is built as NaCl untrusted
11 # code. 11 # code.
12 'nacl_default_compile_flags': [ 12 'nacl_default_compile_flags': [
13 # TODO(mseaborn): Move -Werror to untrusted.gypi so that it
14 # applies to Chrome source built as untrusted code. We have
15 # -Werror as a NaCl-side only flag at the moment because some
16 # Chrome code produces warnings when built with PNaCl/ARM.
17 # See http://code.google.com/p/nativeclient/issues/detail?id=3108
18 '-Werror',
19 '-Wundef', 13 '-Wundef',
20 ], 14 ],
21 }, 15 },
22 } 16 }
OLDNEW
« no previous file with comments | « build/build_nexe.py ('k') | build/untrusted.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698