Do not use openmax_dl for MIPS64 platform.

This fix is intended for MIPS64 Chromium Android builds, which has no openmax_dl
support at this moment.

R=andrew@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/31339004

Patch from Ljubomir Papuga <lpapuga@mips.com>.

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7983 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org 2014-12-30 18:19:56 +00:00
parent b2bda67497
commit 34ac956706
2 changed files with 3 additions and 1 deletions

View File

@ -150,7 +150,7 @@
['target_arch=="arm" or target_arch=="arm64"', {
'prefer_fixed_point%': 1,
}],
['OS!="ios" and (target_arch!="arm" or arm_version>=7)', {
['OS!="ios" and (target_arch!="arm" or arm_version>=7) and target_arch!="mips64el"', {
'rtc_use_openmax_dl%': 1,
}, {
'rtc_use_openmax_dl%': 0,

View File

@ -103,6 +103,8 @@ declare_args() {
rtc_prefer_fixed_point = true
}
# TODO(ljubomir): Unset rtc_use_openmax_dl for mips64el once mips64el gets
# supported in GN (since openmax_dl is not supported for mips64el).
if (!is_ios && (cpu_arch != "arm" || arm_version >= 7)) {
rtc_use_openmax_dl = true
} else {