diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/ffmpeg/ffmpeg.gyp | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/third_party/ffmpeg/ffmpeg.gyp b/third_party/ffmpeg/ffmpeg.gyp index 0a6aa8a..aaa7816 100644 --- a/third_party/ffmpeg/ffmpeg.gyp +++ b/third_party/ffmpeg/ffmpeg.gyp @@ -328,10 +328,6 @@ 'source/patched-ffmpeg-mt/libavcodec/arm/simple_idct_armv5te.S', 'source/patched-ffmpeg-mt/libavcodec/arm/simple_idct_armv6.S', ], - # TODO(scherkus): Temporary until libvpx compiles on ARM. - 'sources!': [ - 'source/patched-ffmpeg-mt/libavcodec/libvpxdec.c', - ], 'conditions': [ ['arm_neon==1', { 'sources': [ @@ -386,18 +382,13 @@ 'ldflags': [ '-Wl,-Bsymbolic', '-L<(shared_generated_dir)', - '-L<(libvpx_hack_dir)/lib/<(OS)/<(target_arch)', + '-L<(libvpx_hack_dir)/lib/<(OS)/<(ffmpeg_config)', ], 'libraries': [ + '-lvpx', '-lz', ], 'conditions': [ - ['target_arch!="arm"', { - 'libraries': [ - # TODO(scherkus): Temporary until libvpx compiles on ARM. - '-lvpx', - ], - }], ['ffmpeg_asm_lib==1', { 'libraries': [ # TODO(ajwong): When scons is dead, collapse this with the @@ -415,7 +406,7 @@ # # http://code.google.com/p/gyp/issues/detail?id=108 '<(shared_generated_dir)/<(STATIC_LIB_PREFIX)<(asm_library)<(STATIC_LIB_SUFFIX)', - '<(libvpx_hack_dir)/lib/<(OS)/<(target_arch)/libvpx.a', + '<(libvpx_hack_dir)/lib/<(OS)/<(ffmpeg_config)/libvpx.a', ], 'link_settings': { 'libraries': [ |