diff --git a/media/libyuv/libyuv.gyp b/media/libyuv/libyuv.gyp index db4b54904366..d44f727d4bba 100644 --- a/media/libyuv/libyuv.gyp +++ b/media/libyuv/libyuv.gyp @@ -45,7 +45,7 @@ 'optimize': 'max', # enable O2 and ltcg. }, # Allows libyuv.a redistributable library without external dependencies. - 'standalone_static_library': 1, + # 'standalone_static_library': 1, 'conditions': [ # Disable -Wunused-parameter ['clang == 1', { @@ -80,7 +80,7 @@ }], ], }], - ['OS != "ios" and libyuv_disable_jpeg != 1', { + ['OS != "ios" and libyuv_disable_jpeg != 1 and build_with_mozilla != 1', { 'defines': [ 'HAVE_JPEG' ],