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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
177 '-gline-tables-only', | 177 '-gline-tables-only', |
178 '-fsanitize=address', | 178 '-fsanitize=address', |
179 '-w', # http://crbug.com/162783 | 179 '-w', # http://crbug.com/162783 |
180 ], | 180 ], |
181 'cflags_cc!': [ | 181 'cflags_cc!': [ |
182 '-fomit-frame-pointer', | 182 '-fomit-frame-pointer', |
183 ], | 183 ], |
184 'ldflags': [ | 184 'ldflags': [ |
185 '-fsanitize=address', | 185 '-fsanitize=address', |
186 ], | 186 ], |
187 'defines': [ 'ADDRESS_SANITIZER' ], | |
Jarin
2014/03/25 20:50:48
Perhaps we want to make this consistent with the f
Jakob Kummerow
2014/03/26 09:59:12
As you wish. (I weakly prefer the more condensed f
| |
187 } | 188 } |
188 }], | 189 }], |
189 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 190 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
190 or OS=="netbsd"', { | 191 or OS=="netbsd"', { |
191 'target_defaults': { | 192 'target_defaults': { |
192 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', | 193 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
193 '-pthread', '-fno-exceptions', '-pedantic' ], | 194 '-pthread', '-fno-exceptions', '-pedantic' ], |
194 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ], | 195 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ], |
195 'ldflags': [ '-pthread', ], | 196 'ldflags': [ '-pthread', ], |
196 'conditions': [ | 197 'conditions': [ |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
353 ], | 354 ], |
354 'target_conditions': [ | 355 'target_conditions': [ |
355 ['_type!="static_library"', { | 356 ['_type!="static_library"', { |
356 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 357 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
357 }], | 358 }], |
358 ], # target_conditions | 359 ], # target_conditions |
359 }, # target_defaults | 360 }, # target_defaults |
360 }], # OS=="mac" | 361 }], # OS=="mac" |
361 ], | 362 ], |
362 } | 363 } |
OLD | NEW |