summaryrefslogtreecommitdiffstats
path: root/build/external_code.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/external_code.gypi')
-rw-r--r--build/external_code.gypi44
1 files changed, 19 insertions, 25 deletions
diff --git a/build/external_code.gypi b/build/external_code.gypi
index 4f59b2b..32991ef 100644
--- a/build/external_code.gypi
+++ b/build/external_code.gypi
@@ -5,37 +5,31 @@
{
'conditions': [
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
- 'target_defaults': {
- 'cflags!': [
- '-Wall',
- '-Wextra',
- '-Werror',
- ],
- },
+ 'cflags!': [
+ '-Wall',
+ '-Wextra',
+ '-Werror',
+ ],
}],
[ 'OS=="win"', {
- 'target_defaults': {
- 'defines': [
- '_CRT_SECURE_NO_DEPRECATE',
- '_CRT_NONSTDC_NO_WARNINGS',
- '_CRT_NONSTDC_NO_DEPRECATE',
- '_SCL_SECURE_NO_DEPRECATE',
- ],
- 'msvs_disabled_warnings': [4800],
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarnAsError': 'false',
- 'Detect64BitPortabilityProblems': 'false',
- },
+ 'defines': [
+ '_CRT_SECURE_NO_DEPRECATE',
+ '_CRT_NONSTDC_NO_WARNINGS',
+ '_CRT_NONSTDC_NO_DEPRECATE',
+ '_SCL_SECURE_NO_DEPRECATE',
+ ],
+ 'msvs_disabled_warnings': [4800],
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'WarnAsError': 'false',
+ 'Detect64BitPortabilityProblems': 'false',
},
},
}],
[ 'OS=="mac"', {
- 'target_defaults': {
- 'xcode_settings': {
- 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO',
- 'WARNING_CFLAGS!': ['-Wall'],
- },
+ 'xcode_settings': {
+ 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO',
+ 'WARNING_CFLAGS!': ['-Wall'],
},
}],
],