Index: third_party/libwebp/libwebp.gyp |
diff --git a/third_party/libwebp/libwebp.gyp b/third_party/libwebp/libwebp.gyp |
index 576fa9ce9b3f78966a5d492169e614447109a153..312887ada31711ee426647ecd47730520fbf6b83 100644 |
--- a/third_party/libwebp/libwebp.gyp |
+++ b/third_party/libwebp/libwebp.gyp |
@@ -61,6 +61,15 @@ |
'dsp/upsampling_sse2.c', |
'dsp/yuv.c', |
], |
+ 'conditions': [ |
+ ['order_profiling != 0', { |
+ 'target_conditions' : [ |
+ ['_toolset=="target"', { |
+ 'cflags!': [ '-finstrument-functions' ], |
+ }], |
+ ], |
+ }], |
+ ], |
}, |
{ |
'target_name': 'libwebp_utils', |