Index: media/media.gyp |
diff --git a/media/media.gyp b/media/media.gyp |
index 44a7bcc14962706b082f66a29f1eabfeac4847c5..cad310263134ef3b056df407ae0b634f3d5e2951 100644 |
--- a/media/media.gyp |
+++ b/media/media.gyp |
@@ -397,6 +397,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', |
@@ -444,6 +451,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': [ |