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

Side by Side Diff: build/common.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 | « SConstruct ('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 Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 # .gyp files should set chromium_code to 1 if they build Chromium-specific 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific
8 # code, as opposed to external code. This variable is used to control 8 # code, as opposed to external code. This variable is used to control
9 # such things as the set of warnings to enable, and whether warnings are 9 # such things as the set of warnings to enable, and whether warnings are
10 # treated as errors. 10 # treated as errors.
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 ], 429 ],
430 'cflags_cc': [ 430 'cflags_cc': [
431 '-fno-rtti', 431 '-fno-rtti',
432 '-fno-threadsafe-statics', 432 '-fno-threadsafe-statics',
433 ], 433 ],
434 'ldflags': [ 434 'ldflags': [
435 '-pthread', 435 '-pthread',
436 '-Wl,-z,noexecstack', 436 '-Wl,-z,noexecstack',
437 ], 437 ],
438 'defines': [ 438 'defines': [
439 '_DEFAULT_SOURCE=1',
440 '_BSD_SOURCE=1',
441 '_POSIX_C_SOURCE=199506', 439 '_POSIX_C_SOURCE=199506',
442 '_XOPEN_SOURCE=600', 440 '_XOPEN_SOURCE=600',
443 '_GNU_SOURCE=1', 441 '_GNU_SOURCE=1',
444 '__STDC_LIMIT_MACROS=1', 442 '__STDC_LIMIT_MACROS=1',
445 ], 443 ],
446 'configurations': { 444 'configurations': {
447 'Debug': { 445 'Debug': {
448 'variables': { 446 'variables': {
449 'debug_optimize%': '0', 447 'debug_optimize%': '0',
450 }, 448 },
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 819 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
822 # files to appear (when present) in the UI as actual files and not red 820 # files to appear (when present) in the UI as actual files and not red
823 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 821 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
824 # and therefore SYMROOT, needs to be set at the project level. 822 # and therefore SYMROOT, needs to be set at the project level.
825 'SYMROOT': '<(DEPTH)/xcodebuild', 823 'SYMROOT': '<(DEPTH)/xcodebuild',
826 }, 824 },
827 'includes': [ 825 'includes': [
828 'untrusted.gypi', 826 'untrusted.gypi',
829 ], 827 ],
830 } 828 }
OLDNEW
« no previous file with comments | « SConstruct ('k') | build/untrusted.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698