Index: media/media.gyp |
diff --git a/media/media.gyp b/media/media.gyp |
index 65fd70243ee430224e7b7dba4867339376aa89fa..f2d11e461212521dd79d969365ed6156ac91dfd9 100644 |
--- a/media/media.gyp |
+++ b/media/media.gyp |
@@ -473,6 +473,13 @@ |
'cpu_features', |
], |
'conditions': [ |
+ ['order_profiling != 0', { |
+ 'target_conditions' : [ |
+ ['_toolset=="target"', { |
+ 'cflags!': [ '-finstrument-functions' ], |
+ }], |
+ ], |
+ }], |
[ 'target_arch == "ia32" or target_arch == "x64"', { |
'dependencies': [ |
'yuv_convert_simd_x86', |
@@ -520,6 +527,13 @@ |
'base/simd/yuv_to_rgb_table.h', |
], |
'conditions': [ |
+ ['order_profiling != 0', { |
+ 'target_conditions' : [ |
+ ['_toolset=="target"', { |
+ 'cflags!': [ '-finstrument-functions' ], |
+ }], |
+ ], |
+ }], |
[ 'target_arch == "x64"', { |
# Source files optimized for X64 systems. |
'sources': [ |