mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 01:06:46 +08:00
For android arm64 dont specify neon flag.
BUG=364 TESTED=try bots R=tpsiaki@google.com Review URL: https://webrtc-codereview.appspot.com/25719004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1099 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
1fb68cda67
commit
bb5cc129e5
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: http://code.google.com/p/libyuv/
|
URL: http://code.google.com/p/libyuv/
|
||||||
Version: 1098
|
Version: 1099
|
||||||
License: BSD
|
License: BSD
|
||||||
License File: LICENSE
|
License File: LICENSE
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,6 @@
|
|||||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||||
#define INCLUDE_LIBYUV_VERSION_H_
|
#define INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|
||||||
#define LIBYUV_VERSION 1098
|
#define LIBYUV_VERSION 1099
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||||
|
|||||||
21
libyuv.gyp
21
libyuv.gyp
@ -54,9 +54,12 @@
|
|||||||
'-ffat-lto-objects',
|
'-ffat-lto-objects',
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
],
|
# arm64 does not need -mfpu=neon option as neon is not optional
|
||||||
'cflags': [
|
['target_arch != "arm64"', {
|
||||||
'-mfpu=neon',
|
'cflags': [
|
||||||
|
'-mfpu=neon',
|
||||||
|
],
|
||||||
|
}],
|
||||||
],
|
],
|
||||||
'include_dirs': [
|
'include_dirs': [
|
||||||
'include',
|
'include',
|
||||||
@ -127,7 +130,17 @@
|
|||||||
'LIBYUV_DISABLE_X86',
|
'LIBYUV_DISABLE_X86',
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
],
|
['OS == "android" and target_arch == "arm64"', {
|
||||||
|
'ldflags': [
|
||||||
|
'-Wl,--dynamic-linker,/system/bin/linker64',
|
||||||
|
],
|
||||||
|
}],
|
||||||
|
['OS == "android" and target_arch != "arm64"', {
|
||||||
|
'ldflags': [
|
||||||
|
'-Wl,--dynamic-linker,/system/bin/linker',
|
||||||
|
],
|
||||||
|
}],
|
||||||
|
], #conditions
|
||||||
'defines': [
|
'defines': [
|
||||||
# Enable the following 3 macros to turn off assembly for specified CPU.
|
# Enable the following 3 macros to turn off assembly for specified CPU.
|
||||||
# 'LIBYUV_DISABLE_X86',
|
# 'LIBYUV_DISABLE_X86',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user