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

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: adding web_contents_delegate_android component. 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 ceeedceb2ce0139e25b12066f891f025f1813266..d02f286aa1c7f0d63ee502b3bb8bb78f3aaed3be 100644
--- a/android_webview/lib/android_webview.gyp
+++ b/android_webview/lib/android_webview.gyp
@@ -26,9 +26,11 @@
'type': 'shared_library',
'dependencies': [
'webview_core',
+ '../native/webview_native.gyp:webview_native',
],
'include_dirs': [
'../..',
+ '../../skia/config',
],
'sources': [
'main/webview_entry_point.cc',
@@ -37,11 +39,33 @@
'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)',
+ ],
+ },
+ ],
+ },
],
-}
-
-# Local Variables:
-# tab-width:2
-# indent-tabs-mode:nil
-# End:
-# vim: set expandtab tabstop=2 shiftwidth=2:
+}

Powered by Google App Engine
This is Rietveld 408576698