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