Index: media/media.gyp |
diff --git a/media/media.gyp b/media/media.gyp |
index f31cdc98c81940f1a5b3466dec710c81e3a04a8c..b33162b5232ab0e45c2b75c667cc57b188359daf 100644 |
--- a/media/media.gyp |
+++ b/media/media.gyp |
@@ -469,6 +469,18 @@ |
'filters/vpx_video_decoder.h', |
], |
}], |
+ ['use_system_ffmpeg == 1', { |
+ 'defines': [ |
+ '<!(python <(DEPTH)/tools/compile_test/compile_test.py ' |
Ami GONE FROM CHROMIUM
2013/02/19 18:41:29
Can you confirm this doesn't get executed when use
Paweł Hajdan Jr.
2013/02/20 10:55:39
Confirmed. I made compile_test.py raise an excepti
|
+ '--code "#include <libavcodec/avcodec.h>\n' |
+ 'int test() { return CODEC_ID_OPUS; }" ' |
+ '--on-failure CHROMIUM_OMIT_CODEC_ID_OPUS)', |
+ '<!(python <(DEPTH)/tools/compile_test/compile_test.py ' |
+ '--code "#include <libavcodec/avcodec.h>\n' |
+ 'int test() { return AV_CODEC_ID_VP9; }" ' |
+ '--on-failure CHROMIUM_OMIT_AV_CODEC_ID_VP9)', |
+ ], |
+ }], |
['OS == "ios"', { |
'includes': [ |
# For shared_memory_support_sources variable. |