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 } | 187 'defines': [ |
| 188 'ADDRESS_SANITIZER', |
| 189 ], |
| 190 }, |
188 }], | 191 }], |
189 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 192 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
190 or OS=="netbsd"', { | 193 or OS=="netbsd"', { |
191 'target_defaults': { | 194 'target_defaults': { |
192 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', | 195 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
193 '-pthread', '-fno-exceptions', '-pedantic' ], | 196 '-pthread', '-fno-exceptions', '-pedantic' ], |
194 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ], | 197 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ], |
195 'ldflags': [ '-pthread', ], | 198 'ldflags': [ '-pthread', ], |
196 'conditions': [ | 199 'conditions': [ |
197 [ 'OS=="linux"', { | 200 [ 'OS=="linux"', { |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 ], | 356 ], |
354 'target_conditions': [ | 357 'target_conditions': [ |
355 ['_type!="static_library"', { | 358 ['_type!="static_library"', { |
356 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 359 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
357 }], | 360 }], |
358 ], # target_conditions | 361 ], # target_conditions |
359 }, # target_defaults | 362 }, # target_defaults |
360 }], # OS=="mac" | 363 }], # OS=="mac" |
361 ], | 364 ], |
362 } | 365 } |
OLD | NEW |