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

Unified Diff: android_webview/android_webview.gyp

Issue 477903003: Make the WebView apk build in the Chrome tree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update DEPS Created 6 years, 3 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
« no previous file with comments | « android_webview/Android.mk ('k') | android_webview/android_webview_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/android_webview.gyp
diff --git a/android_webview/android_webview.gyp b/android_webview/android_webview.gyp
index 524b80b6f074880d1068d0f3ac791fd5a929871b..d2259dc8b3ba9ba19afa52d0b7869423f27f33e9 100644
--- a/android_webview/android_webview.gyp
+++ b/android_webview/android_webview.gyp
@@ -7,69 +7,6 @@
},
'targets': [
{
- 'target_name': 'libwebviewchromium',
- 'type': 'shared_library',
- 'android_unmangled_name': 1,
- 'dependencies': [
- 'android_webview_common',
- ],
- 'conditions': [
- # Avoid clashes between the versions of this library built with
- # android_webview_build==1 by using a different name prefix.
- [ 'android_webview_build==0', {
- 'product_prefix': 'libstandalone',
- }],
- [ 'android_webview_build==1', {
- # When building inside the android tree we also need to depend on all
- # the java sources generated from templates which will be needed by
- # android_webview_java in android_webview/java_library_common.mk.
- 'dependencies': [
- '../base/base.gyp:base_java_application_state',
- '../base/base.gyp:base_java_memory_pressure_level_list',
- '../content/content.gyp:content_gamepad_mapping',
- '../content/content.gyp:gesture_event_type_java',
- '../content/content.gyp:page_transition_types_java',
- '../content/content.gyp:popup_item_type_java',
- '../content/content.gyp:result_codes_java',
- '../content/content.gyp:screen_orientation_values_java',
- '../content/content.gyp:selection_event_type_java',
- '../content/content.gyp:speech_recognition_error_java',
- '../media/media.gyp:media_android_imageformat_list',
- '../net/net.gyp:cert_verify_status_android_java',
- '../net/net.gyp:certificate_mime_types_java',
- '../net/net.gyp:net_errors_java',
- '../net/net.gyp:private_key_types_java',
- '../ui/android/ui_android.gyp:bitmap_format_java',
- '../ui/android/ui_android.gyp:window_open_disposition_java',
- ],
- }],
- [ 'android_webview_build==1 and use_system_skia==0', {
- # When not using the system skia there are linker warnings about
- # overriden hidden symbols which there's no easy way to eliminate;
- # disable them. http://crbug.com/157326
- 'ldflags': [
- '-Wl,--no-fatal-warnings',
- ],
- 'ldflags!': [
- '-Wl,--fatal-warnings',
- ],
- }],
- ['android_webview_build==1 and use_system_stlport==1', {
- # ICU requires RTTI, which is not present in the system's stlport, so
- # we have to include gabi++. We can't include it in icu.gyp because
- # link_settings cannot be used inside target_conditions. This will be
- # removed once we stop using the system stlport.
- # http://crbug.com/409851
- 'libraries': [
- '-lgabi++',
- ],
- }],
- ],
- 'sources': [
- 'lib/main/webview_entry_point.cc',
- ],
- },
- {
'target_name': 'android_webview_pak',
'type': 'none',
'dependencies': [
@@ -89,7 +26,7 @@
'<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak',
],
- 'pak_output': '<(PRODUCT_DIR)/android_webview_apk/assets/webviewchromium.pak',
+ 'pak_output': '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak',
},
'includes': [ '../build/repack_action.gypi' ],
},
@@ -97,7 +34,7 @@
'action_name': 'add_en_US_pak_locale',
'variables': {
'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.pak'],
- 'pak_output': '<(PRODUCT_DIR)/android_webview_apk/assets/en-US.pak',
+ 'pak_output': '<(PRODUCT_DIR)/android_webview_assets/en-US.pak',
},
'includes': [ '../build/repack_action.gypi' ],
}
@@ -277,11 +214,18 @@
'renderer/print_render_frame_observer.h',
],
},
+ {
+ 'target_name': 'libwebviewchromium',
+ 'includes': [
+ 'libwebviewchromium.gypi',
+ ],
+ }
],
'conditions': [
['android_webview_build==0', {
'includes': [
'android_webview_tests.gypi',
+ '../third_party/android_webview_glue/android_webview_glue.gypi',
],
'targets': [
{
« no previous file with comments | « android_webview/Android.mk ('k') | android_webview/android_webview_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698