| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |