Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(455)

Side by Side Diff: build/sanitizers/sanitizers.gyp

Issue 594843002: Reland https://codereview.chromium.org/581983003/: Enable ASan default options on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698