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

Side by Side Diff: third_party/instrumented_libraries/instrumented_libraries.gyp

Issue 390093002: Instrumented libraries: use package-specific sanitizer blacklists. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: undo accidental whitespace change Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'variables': { 6 'variables': {
7 'verbose_libraries_build%': 0, 7 'verbose_libraries_build%': 0,
8 'instrumented_libraries_jobs%': 1, 8 'instrumented_libraries_jobs%': 1,
9 }, 9 },
10 10
(...skipping 30 matching lines...) Expand all
41 'package_ldflags': [ 41 'package_ldflags': [
42 '-Wl,-z,origin', 42 '-Wl,-z,origin',
43 # We set RPATH=XORIGIN when building the package and replace it with 43 # We set RPATH=XORIGIN when building the package and replace it with
44 # $ORIGIN later. The reason is that this flag goes through configure/make 44 # $ORIGIN later. The reason is that this flag goes through configure/make
45 # differently for different packages. Because of this, we can't escape the 45 # differently for different packages. Because of this, we can't escape the
46 # $ character in a way that would work for every package. 46 # $ character in a way that would work for every package.
47 '-Wl,-R,XORIGIN/.' 47 '-Wl,-R,XORIGIN/.'
48 ], 48 ],
49 'patch': '', 49 'patch': '',
50 'run_before_build': '', 50 'run_before_build': '',
51 'asan_blacklist': '',
52 'msan_blacklist': '',
53 'tsan_blacklist': '',
51 54
52 'conditions': [ 55 'conditions': [
53 ['asan==1', { 56 ['asan==1', {
54 'sanitizer_blacklist': '',
55 'package_cflags': ['-fsanitize=address'], 57 'package_cflags': ['-fsanitize=address'],
56 'package_ldflags': ['-fsanitize=address'], 58 'package_ldflags': ['-fsanitize=address'],
57 }], 59 }],
58 ['msan==1', { 60 ['msan==1', {
59 'sanitizer_blacklist': '<(msan_blacklist)',
60 'package_cflags': [ 61 'package_cflags': [
61 '-fsanitize=memory', 62 '-fsanitize=memory',
62 '-fsanitize-memory-track-origins=<(msan_track_origins)' 63 '-fsanitize-memory-track-origins=<(msan_track_origins)'
63 ], 64 ],
64 'package_ldflags': ['-fsanitize=memory'], 65 'package_ldflags': ['-fsanitize=memory'],
65 }], 66 }],
66 ['tsan==1', { 67 ['tsan==1', {
67 'sanitizer_blacklist': '<(tsan_blacklist)',
68 'package_cflags': ['-fsanitize=thread'], 68 'package_cflags': ['-fsanitize=thread'],
69 'package_ldflags': ['-fsanitize=thread'], 69 'package_ldflags': ['-fsanitize=thread'],
70 }], 70 }],
71 ], 71 ],
72 }, 72 },
73 73
74 'targets': [ 74 'targets': [
75 { 75 {
76 'target_name': 'instrumented_libraries', 76 'target_name': 'instrumented_libraries',
77 'type': 'none', 77 'type': 'none',
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 'includes': ['standard_instrumented_package_target.gypi'], 234 'includes': ['standard_instrumented_package_target.gypi'],
235 }, 235 },
236 { 236 {
237 'package_name': 'libglib2.0-0', 237 'package_name': 'libglib2.0-0',
238 'dependencies=': [], 238 'dependencies=': [],
239 'extra_configure_flags': [ 239 'extra_configure_flags': [
240 '--disable-gtk-doc', 240 '--disable-gtk-doc',
241 '--disable-gtk-doc-html', 241 '--disable-gtk-doc-html',
242 '--disable-gtk-doc-pdf', 242 '--disable-gtk-doc-pdf',
243 ], 243 ],
244 'asan_blacklist': 'blacklists/asan/libglib2.0-0.txt',
244 'includes': ['standard_instrumented_package_target.gypi'], 245 'includes': ['standard_instrumented_package_target.gypi'],
245 }, 246 },
246 { 247 {
247 'package_name': 'libgpg-error0', 248 'package_name': 'libgpg-error0',
248 'dependencies=': [], 249 'dependencies=': [],
249 'includes': ['standard_instrumented_package_target.gypi'], 250 'includes': ['standard_instrumented_package_target.gypi'],
250 }, 251 },
251 { 252 {
252 'package_name': 'libnspr4', 253 'package_name': 'libnspr4',
253 'dependencies=': [], 254 'dependencies=': [],
(...skipping 28 matching lines...) Expand all
282 }, 283 },
283 { 284 {
284 'package_name': 'libpng12-0', 285 'package_name': 'libpng12-0',
285 'dependencies=': [], 286 'dependencies=': [],
286 'includes': ['standard_instrumented_package_target.gypi'], 287 'includes': ['standard_instrumented_package_target.gypi'],
287 }, 288 },
288 { 289 {
289 'package_name': 'libx11-6', 290 'package_name': 'libx11-6',
290 'dependencies=': [], 291 'dependencies=': [],
291 'extra_configure_flags': ['--disable-specs'], 292 'extra_configure_flags': ['--disable-specs'],
293 'msan_blacklist': 'blacklists/msan/libx11-6.txt',
292 'includes': ['standard_instrumented_package_target.gypi'], 294 'includes': ['standard_instrumented_package_target.gypi'],
293 }, 295 },
294 { 296 {
295 'package_name': 'libxau6', 297 'package_name': 'libxau6',
296 'dependencies=': [], 298 'dependencies=': [],
297 'includes': ['standard_instrumented_package_target.gypi'], 299 'includes': ['standard_instrumented_package_target.gypi'],
298 }, 300 },
299 { 301 {
300 'package_name': 'libxcb1', 302 'package_name': 'libxcb1',
301 'dependencies=': [], 303 'dependencies=': [],
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 'package_name': 'dee', 596 'package_name': 'dee',
595 'extra_configure_flags': [ 597 'extra_configure_flags': [
596 # See above. 598 # See above.
597 '--disable-introspection', 599 '--disable-introspection',
598 ], 600 ],
599 'dependencies=': [], 601 'dependencies=': [],
600 'includes': ['standard_instrumented_package_target.gypi'], 602 'includes': ['standard_instrumented_package_target.gypi'],
601 }, 603 },
602 ], 604 ],
603 } 605 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698