summaryrefslogtreecommitdiffstats
path: root/android_webview
diff options
context:
space:
mode:
authortorne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-21 15:55:15 +0000
committertorne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-21 15:55:15 +0000
commit5bdfe0248c5260a2043db5e917f706b70d007eac (patch)
tree2daec5625db40bf4f16eea5ddda44e008cd1bfc0 /android_webview
parentbc0af55bb4c0804a75c0be3294c98ca29e02edca (diff)
downloadchromium_src-5bdfe0248c5260a2043db5e917f706b70d007eac.zip
chromium_src-5bdfe0248c5260a2043db5e917f706b70d007eac.tar.gz
chromium_src-5bdfe0248c5260a2043db5e917f706b70d007eac.tar.bz2
Android WebView: fix linking cpufeatures.
The library dependency on cpufeatures.a from libwebp doesn't get propagated correctly; work around this for now by forcing it to be linked into the .so explicitly. BUG= Review URL: https://codereview.chromium.org/11412130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169048 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview')
-rw-r--r--android_webview/android_webview.gyp9
1 files changed, 9 insertions, 0 deletions
diff --git a/android_webview/android_webview.gyp b/android_webview/android_webview.gyp
index 1582ebb..6f56437 100644
--- a/android_webview/android_webview.gyp
+++ b/android_webview/android_webview.gyp
@@ -23,6 +23,15 @@
'sources': [
'lib/main/webview_entry_point.cc',
],
+ 'conditions': [
+ ['android_build_type != 0', {
+ 'libraries': [
+ # The "android" gyp backend doesn't quite handle static libraries'
+ # dependencies correctly; force this to be linked as a workaround.
+ 'cpufeatures.a',
+ ],
+ }],
+ ],
},
{
'target_name': 'android_webview_common',