Add RTTI to all sanitizers.
authorherb <herb@google.com>
Wed, 9 Dec 2015 02:49:04 +0000 (18:49 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 9 Dec 2015 02:49:04 +0000 (18:49 -0800)
BUG=skia:

Review URL: https://codereview.chromium.org/1510843003

gyp/common_conditions.gypi

index ddfd1d300a1ebfd918c98a6afb30b8fde37e8333..5fb45f6c4e0829e1c32bc0006c15fc78670e7c31 100644 (file)
               '-fsanitize-blacklist=<(skia_sanitizer_blacklist)', # Compile in our blacklist.
               '-include <(skia_sanitizer_blacklist)',             # Make every .cpp depend on it.
             ],
+            'cflags_cc!': [
+              '-fno-rtti'
+            ],
             'ldflags': [
               '-fsanitize=<(skia_sanitizer)',
             ],
               [ 'skia_sanitizer == "thread"', {
                 'defines': [ 'THREAD_SANITIZER' ],
               }],
-              [ 'skia_sanitizer == "undefined"', {
-                'cflags_cc!': ['-fno-rtti'],
-              }],
             ],
           }],
           [ 'skia_clang_build', {