Index: media/media.gyp |
diff --git a/media/media.gyp b/media/media.gyp |
index a11e2d04d83a2cd71d07fc935ee992877c0a5e0e..7dac6f3f7085acee90a5ab7a742f8a2bd6a8abab 100644 |
--- a/media/media.gyp |
+++ b/media/media.gyp |
@@ -459,6 +459,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', |
@@ -506,6 +513,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': [ |