OLD | NEW |
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 'arm_thumb': 'default', | 129 'arm_thumb': 'default', |
130 }, | 130 }, |
131 'target_defaults': { | 131 'target_defaults': { |
132 'variables': { | 132 'variables': { |
133 'v8_code%': '<(v8_code)', | 133 'v8_code%': '<(v8_code)', |
134 }, | 134 }, |
135 'default_configuration': 'Debug', | 135 'default_configuration': 'Debug', |
136 'configurations': { | 136 'configurations': { |
137 'DebugBaseCommon': { | 137 'DebugBaseCommon': { |
138 'cflags': [ '-g', '-O0' ], | 138 'cflags': [ '-g', '-O0' ], |
| 139 'conditions': [ |
| 140 ['(v8_target_arch=="ia32" or v8_target_arch=="x64" or v8_target_arch==
"x87") and \ |
| 141 OS=="linux"', { |
| 142 'defines': [ |
| 143 '_GLIBCXX_DEBUG' |
| 144 ], |
| 145 }], |
| 146 ], |
139 }, | 147 }, |
140 'Optdebug': { | 148 'Optdebug': { |
141 'inherit_from': [ 'DebugBaseCommon', 'DebugBase2' ], | 149 'inherit_from': [ 'DebugBaseCommon', 'DebugBase2' ], |
142 }, | 150 }, |
143 'Debug': { | 151 'Debug': { |
144 # Xcode insists on this empty entry. | 152 # Xcode insists on this empty entry. |
145 }, | 153 }, |
146 'Release': { | 154 'Release': { |
147 # Xcode insists on this empty entry. | 155 # Xcode insists on this empty entry. |
148 }, | 156 }, |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 ], | 417 ], |
410 'target_conditions': [ | 418 'target_conditions': [ |
411 ['_type!="static_library"', { | 419 ['_type!="static_library"', { |
412 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 420 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
413 }], | 421 }], |
414 ], # target_conditions | 422 ], # target_conditions |
415 }, # target_defaults | 423 }, # target_defaults |
416 }], # OS=="mac" | 424 }], # OS=="mac" |
417 ], | 425 ], |
418 } | 426 } |
OLD | NEW |