Commit bb5cc129 authored by fbarchard@google.com's avatar fbarchard@google.com

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
parent 1fb68cda
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 @@ ...@@ -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
...@@ -54,10 +54,13 @@ ...@@ -54,10 +54,13 @@
'-ffat-lto-objects', '-ffat-lto-objects',
], ],
}], }],
], # arm64 does not need -mfpu=neon option as neon is not optional
['target_arch != "arm64"', {
'cflags': [ 'cflags': [
'-mfpu=neon', '-mfpu=neon',
], ],
}],
],
'include_dirs': [ 'include_dirs': [
'include', 'include',
'.', '.',
...@@ -127,7 +130,17 @@ ...@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment