| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 # IMPORTANT: | 5 # IMPORTANT: |
| 6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
| 7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
| 8 { | 8 { |
| 9 'variables': { | 9 'variables': { |
| 10 # .gyp files or targets should set chromium_code to 1 if they build | 10 # .gyp files or targets should set chromium_code to 1 if they build |
| (...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'], | 682 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'], |
| 683 }, | 683 }, |
| 684 'Purify_x64': { | 684 'Purify_x64': { |
| 685 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base', 'Purify_
Base'], | 685 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base', 'Purify_
Base'], |
| 686 }, | 686 }, |
| 687 }], | 687 }], |
| 688 ], | 688 ], |
| 689 }, | 689 }, |
| 690 }, | 690 }, |
| 691 'conditions': [ | 691 'conditions': [ |
| 692 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 692 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
| 693 'target_defaults': { | 693 'target_defaults': { |
| 694 # Enable -Werror by default, but put it in a variable so it can | 694 # Enable -Werror by default, but put it in a variable so it can |
| 695 # be disabled in ~/.gyp/include.gypi on the valgrind builders. | 695 # be disabled in ~/.gyp/include.gypi on the valgrind builders. |
| 696 'variables': { | 696 'variables': { |
| 697 # Use -fno-strict-aliasing by default since gcc 4.4 has periodic | 697 # Use -fno-strict-aliasing by default since gcc 4.4 has periodic |
| 698 # issues that slip through the cracks. We could do this just for | 698 # issues that slip through the cracks. We could do this just for |
| 699 # gcc 4.4 but it makes more sense to be consistent on all | 699 # gcc 4.4 but it makes more sense to be consistent on all |
| 700 # compilers in use. TODO(Craig): turn this off again when | 700 # compilers in use. TODO(Craig): turn this off again when |
| 701 # there is some 4.4 test infrastructure in place and existing | 701 # there is some 4.4 test infrastructure in place and existing |
| 702 # aliasing issues have been fixed. | 702 # aliasing issues have been fixed. |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 989 }], | 989 }], |
| 990 # FreeBSD-specific options; note that most FreeBSD options are set above, | 990 # FreeBSD-specific options; note that most FreeBSD options are set above, |
| 991 # with Linux. | 991 # with Linux. |
| 992 ['OS=="freebsd"', { | 992 ['OS=="freebsd"', { |
| 993 'target_defaults': { | 993 'target_defaults': { |
| 994 'ldflags': [ | 994 'ldflags': [ |
| 995 '-Wl,--no-keep-memory', | 995 '-Wl,--no-keep-memory', |
| 996 ], | 996 ], |
| 997 }, | 997 }, |
| 998 }], | 998 }], |
| 999 ['OS=="solaris"', { |
| 1000 'cflags!': ['-fvisibility=hidden'], |
| 1001 'cflags_cc!': ['-fvisibility-inlines-hidden'], |
| 1002 }], |
| 999 ['OS=="mac"', { | 1003 ['OS=="mac"', { |
| 1000 'target_defaults': { | 1004 'target_defaults': { |
| 1001 'variables': { | 1005 'variables': { |
| 1002 # This should be 'mac_real_dsym%', but there seems to be a bug | 1006 # This should be 'mac_real_dsym%', but there seems to be a bug |
| 1003 # with % in variables that are intended to be set to different | 1007 # with % in variables that are intended to be set to different |
| 1004 # values in different targets, like this one. | 1008 # values in different targets, like this one. |
| 1005 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases. | 1009 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases. |
| 1006 }, | 1010 }, |
| 1007 'mac_bundle': 0, | 1011 'mac_bundle': 0, |
| 1008 'xcode_settings': { | 1012 'xcode_settings': { |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1163 'InterfaceIdentifierFileName': '$(InputName)_i.c', | 1167 'InterfaceIdentifierFileName': '$(InputName)_i.c', |
| 1164 'ProxyFileName': '$(InputName)_p.c', | 1168 'ProxyFileName': '$(InputName)_p.c', |
| 1165 }, | 1169 }, |
| 1166 'VCResourceCompilerTool': { | 1170 'VCResourceCompilerTool': { |
| 1167 'Culture' : '1033', | 1171 'Culture' : '1033', |
| 1168 'AdditionalIncludeDirectories': ['<(DEPTH)'], | 1172 'AdditionalIncludeDirectories': ['<(DEPTH)'], |
| 1169 }, | 1173 }, |
| 1170 }, | 1174 }, |
| 1171 }, | 1175 }, |
| 1172 }], | 1176 }], |
| 1173 # Disable native client on FreeBSD/OpenBSD for now | 1177 ['disable_nacl==1 or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
| 1174 ['disable_nacl==1 or OS=="freebsd" or OS=="openbsd"', { | |
| 1175 'target_defaults': { | 1178 'target_defaults': { |
| 1176 'defines': [ | 1179 'defines': [ |
| 1177 'DISABLE_NACL', | 1180 'DISABLE_NACL', |
| 1178 ], | 1181 ], |
| 1179 }, | 1182 }, |
| 1180 }], | 1183 }], |
| 1181 ['OS=="win" and msvs_use_common_linker_extras', { | 1184 ['OS=="win" and msvs_use_common_linker_extras', { |
| 1182 'target_defaults': { | 1185 'target_defaults': { |
| 1183 'msvs_settings': { | 1186 'msvs_settings': { |
| 1184 'VCLinkerTool': { | 1187 'VCLinkerTool': { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1249 # and therefore SYMROOT, needs to be set at the project level. | 1252 # and therefore SYMROOT, needs to be set at the project level. |
| 1250 'SYMROOT': '<(DEPTH)/xcodebuild', | 1253 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1251 }, | 1254 }, |
| 1252 } | 1255 } |
| 1253 | 1256 |
| 1254 # Local Variables: | 1257 # Local Variables: |
| 1255 # tab-width:2 | 1258 # tab-width:2 |
| 1256 # indent-tabs-mode:nil | 1259 # indent-tabs-mode:nil |
| 1257 # End: | 1260 # End: |
| 1258 # vim: set expandtab tabstop=2 shiftwidth=2: | 1261 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |