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

Side by Side Diff: gyp/common_conditions.gypi

Issue 1509733003: Disable sanitizers with a blacklist. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: put yasm stuff back Created 5 years 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
« no previous file with comments | « no previous file | gyp/common_variables.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # conditions used in both common.gypi and skia.gyp in chromium 6 # conditions used in both common.gypi and skia.gyp in chromium
7 # 7 #
8 { 8 {
9 'defines': [ 9 'defines': [
10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)',
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 'conditions' : [ 428 'conditions' : [
429 [ 'skia_shared_lib', { 429 [ 'skia_shared_lib', {
430 'defines': [ 430 'defines': [
431 'SKIA_DLL', 431 'SKIA_DLL',
432 'SKIA_IMPLEMENTATION=1', 432 'SKIA_IMPLEMENTATION=1',
433 ], 433 ],
434 }], 434 }],
435 # Enable asan, tsan, etc. 435 # Enable asan, tsan, etc.
436 [ 'skia_sanitizer', { 436 [ 'skia_sanitizer', {
437 'cflags': [ 437 'cflags': [
438 '-fsanitize=<(skia_sanitizer)', 438 '-fsanitize=<(skia_sanitizer)', # Turn on sani tizers.
439 '-fno-sanitize-recover=<(skia_sanitizer)', 439 '-fno-sanitize-recover=<(skia_sanitizer)', # Make any fai lure fatal.
440 '-fsanitize-blacklist=<(skia_sanitizer_blacklist)', # Compile in o ur blacklist.
441 '-include <(skia_sanitizer_blacklist)', # Make every . cpp depend on it.
440 ], 442 ],
441 'ldflags': [ 443 'ldflags': [
442 '-fsanitize=<(skia_sanitizer)', 444 '-fsanitize=<(skia_sanitizer)',
443 ], 445 ],
444 'conditions' : [ 446 'conditions' : [
445 [ 'skia_sanitizer == "thread"', { 447 [ 'skia_sanitizer == "thread"', {
446 'defines': [ 'THREAD_SANITIZER' ], 448 'defines': [ 'THREAD_SANITIZER' ],
447 }], 449 }],
448 [ 'skia_sanitizer == "undefined"', { 450 [ 'skia_sanitizer == "undefined"', {
449 'cflags_cc!': ['-fno-rtti'], 451 'cflags_cc!': ['-fno-rtti'],
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], 649 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'],
648 }, 650 },
649 }], 651 }],
650 652
651 ], # end 'conditions' 653 ], # end 'conditions'
652 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details 654 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
653 'xcode_settings': { 655 'xcode_settings': {
654 'SYMROOT': '<(DEPTH)/xcodebuild', 656 'SYMROOT': '<(DEPTH)/xcodebuild',
655 }, 657 },
656 } 658 }
OLDNEW
« no previous file with comments | « no previous file | gyp/common_variables.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698