diff options
-rw-r--r-- | common_conditions.gypi | 10 | ||||
-rw-r--r-- | core.gypi | 1 |
2 files changed, 10 insertions, 1 deletions
diff --git a/common_conditions.gypi b/common_conditions.gypi index e89d116..6ae76a6 100644 --- a/common_conditions.gypi +++ b/common_conditions.gypi @@ -412,6 +412,16 @@ }], ], }], + [ 'skia_sanitizer == "undefined"', { + 'cflags': [ '-fPIC' ], + 'cflags_cc!': ['-fno-rtti'], + 'target_conditions': [ + [ '_type == "executable"', { + 'cflags': [ '-fPIE' ], + 'ldflags': [ '-pie' ], + }], + ], + }], ], }], [ 'skia_clang_build', { @@ -7,7 +7,6 @@ # { 'sources': [ - '<(skia_src_path)/core/ARGB32_Clamp_Bilinear_BitmapShader.h', '<(skia_src_path)/core/SkAAClip.cpp', '<(skia_src_path)/core/SkAnnotation.cpp', '<(skia_src_path)/core/SkAdvancedTypefaceMetrics.cpp', |