| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'sanitizer_options', | 8 'target_name': 'sanitizer_options', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'toolsets': ['host', 'target'], | 10 'toolsets': ['host', 'target'], |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 }], | 38 }], |
| 39 ], | 39 ], |
| 40 'cflags/': [ | 40 'cflags/': [ |
| 41 ['exclude', '-fsanitize='], | 41 ['exclude', '-fsanitize='], |
| 42 ['exclude', '-fsanitize-'], | 42 ['exclude', '-fsanitize-'], |
| 43 ], | 43 ], |
| 44 'direct_dependent_settings': { | 44 'direct_dependent_settings': { |
| 45 'ldflags': [ | 45 'ldflags': [ |
| 46 '-Wl,-u_sanitizer_options_link_helper', | 46 '-Wl,-u_sanitizer_options_link_helper', |
| 47 ], | 47 ], |
| 48 'target_conditions': [ |
| 49 ['_type=="executable"', { |
| 50 'xcode_settings': { |
| 51 'OTHER_LDFLAGS': [ |
| 52 '-Wl,-u,__sanitizer_options_link_helper', |
| 53 ], |
| 54 }, |
| 55 }], |
| 56 ], |
| 48 }, | 57 }, |
| 49 }, | 58 }, |
| 50 ], | 59 ], |
| 51 } | 60 } |
| 52 | 61 |
| OLD | NEW |