Commit 4abb120b authored by Clark DuVall's avatar Clark DuVall Committed by Commit Bot

Use shared_resources=true for system webview bundle

bundletool was updated with the fix needed for shared_resources=true.

Bug: 1033098
Change-Id: I7b6f540a02d9ab4335e002726d83555d01655c12
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2099285
Auto-Submit: Clark DuVall <cduvall@chromium.org>
Reviewed-by: default avatarRichard Coles <torne@chromium.org>
Commit-Queue: Clark DuVall <cduvall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#749746}
parent 31ee37bc
...@@ -90,13 +90,7 @@ template("system_webview_apk_or_module_tmpl") { ...@@ -90,13 +90,7 @@ template("system_webview_apk_or_module_tmpl") {
_include_secondary_support = false _include_secondary_support = false
if (!_use_trichrome_library) { if (!_use_trichrome_library) {
if (_is_bundle_module) {
# TODO(b/146491000): aapt2 currently doesn't support the --shared-lib
# flag for bundles, so this will only work on M+.
app_as_shared_lib = true
} else {
shared_resources = true shared_resources = true
}
if (!android_64bit_target_cpu || !_pure_32_bit) { if (!android_64bit_target_cpu || !_pure_32_bit) {
shared_libraries = [ "//android_webview:libwebviewchromium" ] shared_libraries = [ "//android_webview:libwebviewchromium" ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment