forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the WebView apk build in the Chrome tree
We checkout the Android WebView glue layer (frameworks/webview) into a new third_party directory (android_webview_glue) which is checked out via gclient. This is built against a jar containing frameworks/base (in android_platform/webview/frameworks.jar). We have to work around a few other issues: - Change build/java_apk.gypi to bypass the hardcoded 'src' path. - Move libwebviewchromium to an include so we can make both the prefixed and un-prefixed version in the same build. BUG=391488 R=mkosiba@chromium.org Review URL: https://codereview.chromium.org/477903003 Cr-Commit-Position: refs/heads/master@{#293921}
- Loading branch information
Showing
13 changed files
with
391 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Copyright 2014 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
{ | ||
'type': 'shared_library', | ||
'android_unmangled_name': 1, | ||
'dependencies': [ | ||
'android_webview_common', | ||
], | ||
'conditions': [ | ||
[ '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', | ||
], | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.