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

Side by Side Diff: build/untrusted.gypi

Issue 1411473004: Drop _DEFAULT_SOURCE and _BSD_SOURCE defines (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 5 years, 2 months 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/common.gypi ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium 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 'variables': { 7 'variables': {
8 # Enable -Werror by default, but put it in a variable so it can 8 # Enable -Werror by default, but put it in a variable so it can
9 # be optionally disabled. 9 # be optionally disabled.
10 'werror%': '-Werror', 10 'werror%': '-Werror',
(...skipping 22 matching lines...) Expand all
33 ], 33 ],
34 'common_inputs': [ 34 'common_inputs': [
35 '<(DEPTH)/native_client/build/build_nexe.py', 35 '<(DEPTH)/native_client/build/build_nexe.py',
36 '<(DEPTH)/native_client/build/build_nexe_tools.py', 36 '<(DEPTH)/native_client/build/build_nexe_tools.py',
37 ], 37 ],
38 # Default C compiler defines. 38 # Default C compiler defines.
39 'nacl_default_defines': [ 39 'nacl_default_defines': [
40 '__STDC_LIMIT_MACROS=1', 40 '__STDC_LIMIT_MACROS=1',
41 '__STDC_FORMAT_MACROS=1', 41 '__STDC_FORMAT_MACROS=1',
42 '_GNU_SOURCE=1', 42 '_GNU_SOURCE=1',
43 '_DEFAULT_SOURCE=1',
44 '_BSD_SOURCE=1',
45 '_POSIX_C_SOURCE=199506', 43 '_POSIX_C_SOURCE=199506',
46 '_XOPEN_SOURCE=600', 44 '_XOPEN_SOURCE=600',
47 'DYNAMIC_ANNOTATIONS_ENABLED=1', 45 'DYNAMIC_ANNOTATIONS_ENABLED=1',
48 'DYNAMIC_ANNOTATIONS_PREFIX=NACL_', 46 'DYNAMIC_ANNOTATIONS_PREFIX=NACL_',
49 ], 47 ],
50 'nacl_default_compile_flags': [ 48 'nacl_default_compile_flags': [
51 #'-std=gnu99', Added by build_nexe 49 #'-std=gnu99', Added by build_nexe
52 '-O2', 50 '-O2',
53 '-g', 51 '-g',
54 '-Wall', 52 '-Wall',
(...skipping 1952 matching lines...) Expand 10 before | Expand all | Expand 10 after
2007 ], 2005 ],
2008 }, 2006 },
2009 ], 2007 ],
2010 }], 2008 }],
2011 ], 2009 ],
2012 }], # end MIPS 2010 }], # end MIPS
2013 # end pnacl actions for building ABI-biased native libraries 2011 # end pnacl actions for building ABI-biased native libraries
2014 ], # end conditions for pnacl biased nlib 2012 ], # end conditions for pnacl biased nlib
2015 }, 2013 },
2016 } 2014 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698