Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2145)

Unified Diff: android_webview/lib/android_webview.gyp

Issue 10831060: Refactor the Android port to allow access to the chrome layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit fixed. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/lib/android_webview.gyp
diff --git a/android_webview/lib/android_webview.gyp b/android_webview/lib/android_webview.gyp
index 353e6bf0c6f43efca4087c5921a2ee185cd062d9..8cd34eec41f3ab1d9df4669d8c6cb9c4b1bcd288 100644
--- a/android_webview/lib/android_webview.gyp
+++ b/android_webview/lib/android_webview.gyp
@@ -13,9 +13,11 @@
'../../chrome/chrome.gyp:browser',
'../../chrome/chrome.gyp:renderer',
'../../content/content.gyp:content',
+ '../native/webview_native.gyp:webview_native',
],
'include_dirs': [
'../..',
+ '../../skia/config',
],
'sources': [
'main/webview_entry_point.cc',
@@ -24,6 +26,34 @@
'main/webview_stubs.cc',
],
},
+ {
+ 'target_name': 'android_webview',
+ 'type' : 'none',
+ 'dependencies': [
+ 'libwebview',
+ ],
+ 'variables': {
+ 'install_binary_script': '../build/install_binary',
+ },
+ 'actions': [
+ {
+ 'action_name': 'libwebview_strip_and_install_in_android',
+ 'inputs': [
+ '<(SHARED_LIB_DIR)/libwebview.so',
+ ],
+ 'outputs': [
+ '<(android_product_out)/obj/lib/libwebview.so',
+ '<(android_product_out)/system/lib/libwebview.so',
+ '<(android_product_out)/symbols/system/lib/libwebview.so',
+ ],
+ 'action': [
+ '<(install_binary_script)',
+ '<@(_inputs)',
+ '<@(_outputs)',
+ ],
+ },
+ ],
+ },
],
}

Powered by Google App Engine
This is Rietveld 408576698