Commit 7c36f9f5 authored by Clark DuVall's avatar Clark DuVall Committed by Commit Bot

Add bundle_target to WebView bundle base modules

This is necessary to allow DFMs to call native code correctly. This will
be helpful in experimenting with making WebLayer a DFM.

Bug: 1105096
Change-Id: Ibd8e3b25f9a18e8dc26337cd3f2a4b550066c19d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2337288
Auto-Submit: Clark DuVall <cduvall@chromium.org>
Commit-Queue: Richard Coles <torne@chromium.org>
Reviewed-by: default avatarRichard Coles <torne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795035}
parent 02daf76f
...@@ -59,6 +59,7 @@ if (enable_webview_bundles) { ...@@ -59,6 +59,7 @@ if (enable_webview_bundles) {
standalone_system_webview_apk_tmpl("system_webview_base_bundle_module") { standalone_system_webview_apk_tmpl("system_webview_base_bundle_module") {
target_type = "android_app_bundle_module" target_type = "android_app_bundle_module"
is_base_module = true is_base_module = true
bundle_target = ":system_webview_bundle"
if (_verify_android_configuration) { if (_verify_android_configuration) {
expected_android_manifest = expected_android_manifest =
...@@ -101,6 +102,7 @@ if (android_64bit_target_cpu) { ...@@ -101,6 +102,7 @@ if (android_64bit_target_cpu) {
target_type = "android_app_bundle_module" target_type = "android_app_bundle_module"
include_64_bit_webview = false include_64_bit_webview = false
is_base_module = true is_base_module = true
bundle_target = ":system_webview_32_bundle"
} }
system_webview_bundle("system_webview_32_bundle") { system_webview_bundle("system_webview_32_bundle") {
...@@ -145,6 +147,7 @@ if (enable_webview_bundles) { ...@@ -145,6 +147,7 @@ if (enable_webview_bundles) {
trichrome_webview_tmpl("trichrome_webview_base_bundle_module") { trichrome_webview_tmpl("trichrome_webview_base_bundle_module") {
target_type = "android_app_bundle_module" target_type = "android_app_bundle_module"
is_base_module = true is_base_module = true
bundle_target = ":trichrome_webview_bundle"
if (_verify_android_configuration) { if (_verify_android_configuration) {
expected_android_manifest = expected_android_manifest =
...@@ -225,6 +228,7 @@ if (android_64bit_target_cpu) { ...@@ -225,6 +228,7 @@ if (android_64bit_target_cpu) {
trichrome_webview_64_32_tmpl("trichrome_webview_64_32_base_bundle_module") { trichrome_webview_64_32_tmpl("trichrome_webview_64_32_base_bundle_module") {
target_type = "android_app_bundle_module" target_type = "android_app_bundle_module"
is_base_module = true is_base_module = true
bundle_target = ":trichrome_webview_64_32_bundle"
} }
system_webview_bundle("trichrome_webview_64_32_bundle") { system_webview_bundle("trichrome_webview_64_32_bundle") {
...@@ -238,6 +242,7 @@ if (android_64bit_target_cpu) { ...@@ -238,6 +242,7 @@ if (android_64bit_target_cpu) {
trichrome_webview_32_64_tmpl("trichrome_webview_32_64_base_bundle_module") { trichrome_webview_32_64_tmpl("trichrome_webview_32_64_base_bundle_module") {
target_type = "android_app_bundle_module" target_type = "android_app_bundle_module"
is_base_module = true is_base_module = true
bundle_target = ":trichrome_webview_32_64_bundle"
} }
system_webview_bundle("trichrome_webview_32_64_bundle") { system_webview_bundle("trichrome_webview_32_64_bundle") {
...@@ -275,6 +280,7 @@ if (android_64bit_target_cpu) { ...@@ -275,6 +280,7 @@ if (android_64bit_target_cpu) {
trichrome_webview_32_tmpl("trichrome_webview_32_base_bundle_module") { trichrome_webview_32_tmpl("trichrome_webview_32_base_bundle_module") {
target_type = "android_app_bundle_module" target_type = "android_app_bundle_module"
is_base_module = true is_base_module = true
bundle_target = ":trichrome_webview_32_bundle"
} }
system_webview_bundle("trichrome_webview_32_bundle") { system_webview_bundle("trichrome_webview_32_bundle") {
......
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