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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 'configurations': { | 118 'configurations': { |
119 'Debug': { | 119 'Debug': { |
120 'cflags': [ '-g', '-O0' ], | 120 'cflags': [ '-g', '-O0' ], |
121 }, | 121 }, |
122 'Release': { | 122 'Release': { |
123 # Xcode insists on this empty entry. | 123 # Xcode insists on this empty entry. |
124 }, | 124 }, |
125 }, | 125 }, |
126 'target_conditions': [ | 126 'target_conditions': [ |
127 ['v8_code == 0', { | 127 ['v8_code == 0', { |
| 128 'defines!': [ |
| 129 'DEBUG', |
| 130 ], |
128 'conditions': [ | 131 'conditions': [ |
129 ['os_posix == 1 and OS != "mac"', { | 132 ['os_posix == 1 and OS != "mac"', { |
130 'cflags!': [ | 133 'cflags!': [ |
131 '-Werror', | 134 '-Werror', |
132 ], | 135 ], |
133 }], | 136 }], |
134 ['OS == "mac"', { | 137 ['OS == "mac"', { |
135 'xcode_settings': { | 138 'xcode_settings': { |
136 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror | 139 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror |
137 }, | 140 }, |
138 }], | 141 }], |
139 ['OS == "win"', { | 142 ['OS == "win"', { |
140 'defines!': [ | |
141 'DEBUG', | |
142 ], | |
143 'msvs_settings': { | 143 'msvs_settings': { |
144 'VCCLCompilerTool': { | 144 'VCCLCompilerTool': { |
145 'WarnAsError': 'false', | 145 'WarnAsError': 'false', |
146 }, | 146 }, |
147 }, | 147 }, |
148 }], | 148 }], |
149 ], | 149 ], |
150 }], | 150 }], |
151 ], | 151 ], |
152 }, | 152 }, |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 }, | 281 }, |
282 'target_conditions': [ | 282 'target_conditions': [ |
283 ['_type!="static_library"', { | 283 ['_type!="static_library"', { |
284 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 284 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
285 }], | 285 }], |
286 ], # target_conditions | 286 ], # target_conditions |
287 }, # target_defaults | 287 }, # target_defaults |
288 }], # OS=="mac" | 288 }], # OS=="mac" |
289 ], | 289 ], |
290 } | 290 } |
OLD | NEW |