Fix openmax_dl build for Android WebView.
WebView cannot rely on cpufeatures from the NDK.
BUG=368240
R=andrew@webrtc.org, rtoy@google.com
Review URL: https://webrtc-codereview.appspot.com/12449004
git-svn-id: http://webrtc.googlecode.com/svn/deps/third_party/openmax@6024 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/dl/dl.gyp b/dl/dl.gyp
index 7fd7665..a1953a7 100644
--- a/dl/dl.gyp
+++ b/dl/dl.gyp
@@ -159,15 +159,15 @@
# standalone. Applications must link with openmax_dl.
'target_name': 'openmax_dl_armv7',
'type': 'static_library',
+ 'includes': [
+ '../../../build/android/cpufeatures.gypi',
+ ],
'include_dirs': [
'../',
],
'cflags!': [
'-mfpu=neon',
],
- 'dependencies': [
- '<(android_ndk_root)/android_tools_ndk.gyp:cpu_features',
- ],
'link_settings' : {
'libraries': [
# To get the __android_log_print routine