Use different cpufeatures library when building with chrome.
There are more than one target when building with chrome. They have different build setup. This patch just puts content of build/android/cpufeatures.gypi inside system_wrappers.gyp. In the future, if more modules will use cpufeatures lib, we can move the code into a gypi file. Review URL: https://webrtc-codereview.appspot.com/939030 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3242 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
81cffd1f2c
commit
df94329a4b
@ -209,8 +209,16 @@
|
||||
],
|
||||
'conditions': [
|
||||
['build_with_chromium==1', {
|
||||
'dependencies': [
|
||||
'<(android_ndk_root)/android_tools_ndk.gyp:cpu_features',
|
||||
'conditions': [
|
||||
['android_build_type != 0', {
|
||||
'libraries': [
|
||||
'cpufeatures.a'
|
||||
],
|
||||
}, {
|
||||
'dependencies': [
|
||||
'<(android_ndk_root)/android_tools_ndk.gyp:cpu_features',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}, {
|
||||
'sources': [
|
||||
|
Loading…
x
Reference in New Issue
Block a user