mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
[ios-blink] Enabled JPEG for ios-blink
MJPGToI420 and MJPGToNV12 are needed for successfully compiling /m/c/v/m/sample_buffer_transformer_mac.cc on ios-blink port. This CL enables JPEG support for ios-blink port of chromium. Bug: 1411704 Change-Id: I2009b371a35fa881b9e95ad4fad22356992cef52 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/4454847 Reviewed-by: Frank Barchard <fbarchard@chromium.org> Commit-Queue: Frank Barchard <fbarchard@chromium.org>
This commit is contained in:
parent
aec27be648
commit
77c2121f7e
3
BUILD.gn
3
BUILD.gn
@ -6,6 +6,7 @@
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
import("//build/config/features.gni")
|
||||
import("//testing/test.gni")
|
||||
import("libyuv.gni")
|
||||
|
||||
@ -150,7 +151,7 @@ static_library("libyuv_internal") {
|
||||
configs += [ "//build/config/gcc:symbol_visibility_default" ]
|
||||
}
|
||||
|
||||
if (!is_ios && !libyuv_disable_jpeg) {
|
||||
if ((!is_ios || use_blink) && !libyuv_disable_jpeg) {
|
||||
defines += [ "HAVE_JPEG" ]
|
||||
|
||||
# Needed to pull in libjpeg headers. Can't add //third_party:jpeg to deps
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user