Chromium Code Reviews| Index: gyp/common_conditions.gypi |
| =================================================================== |
| --- gyp/common_conditions.gypi (revision 11695) |
| +++ gyp/common_conditions.gypi (working copy) |
| @@ -289,6 +289,12 @@ |
| 'conditions' : [ |
| [ 'skia_sanitizer == "thread"', { |
| 'defines': [ 'DYNAMIC_ANNOTATIONS_ENABLED=1' ], |
| + 'target_conditions': [ |
| + [ '_type == "executable"', { |
| + 'cflags': [ '-fPIE' ], |
| + 'ldflags': [ '-pie' ], |
| + }], |
| + ], |
| }], |
| ], |
| }], |