Index: ppapi/native_client/src/trusted/plugin/plugin.gyp |
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.gyp b/ppapi/native_client/src/trusted/plugin/plugin.gyp |
index 343883d24743a9ee2882bb76e1fa91b69581e26c..1df384e960aa0bbfd8211eefeb331164cda470a6 100644 |
--- a/ppapi/native_client/src/trusted/plugin/plugin.gyp |
+++ b/ppapi/native_client/src/trusted/plugin/plugin.gyp |
@@ -85,6 +85,11 @@ |
'mac_real_dsym': 1, |
}, |
}], |
+ ['OS=="mac" and buildtype=="Official" and branding=="Chrome"', { |
+ 'xcode_settings': { |
+ 'OTHER_LDFLAGS': ['-fsanitize=address'], |
+ }, |
+ }], |
], |
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
'msvs_disabled_warnings': [4267, ], |