Android: Build AAB without //android_webview

133 views
Skip to first unread message

Paul Jackson

unread,
Mar 23, 2023, 2:11:09 PM3/23/23
to Chromium-dev
Hi,

I'm trying to build Chromium into AAB.

Recently, chrome_modern_public_bundle was removed (crbug.com/1366416).
Now there seems to be monochrome and trichrome targets, both containing Android WebView.

If I understand correctly, it doesn't make sense for non-Google build to ship Android WebView inside the app bundle, since there can't be a WebView provider on consumer devices (https://chromium.googlesource.com/chromium/src/+/HEAD/android_webview/docs/webview-providers.md).

However, I couldn't find any target that builds AAB without WebView. Are there any guidelines or suggestions for building it?

Thanks,
Paul.

Torne (Richard Coles)

unread,
Mar 23, 2023, 2:21:54 PM3/23/23
to mailne...@gmail.com, Andrew Grieve, Chromium-dev
+Andrew Grieve: I'm not sure what build configs have what settings now that we've dropped support for older OS versions, but slightly surprised that we still have chrome_public_apk but not the modern/bundle versions. Was there still any functional difference now that we dropped support for the legacy linker? Were there multiple modules in the bundle?

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/0b810a01-f6ed-4b8a-a499-fbb4c4d57787n%40chromium.org.

Andrew Grieve

unread,
Mar 23, 2023, 2:31:16 PM3/23/23
to Torne (Richard Coles), mailne...@gmail.com, Andrew Grieve, Chromium-dev
A bug came in today about this as well:


We'll add back a bundle target.

Dean Pridemore

unread,
Mar 24, 2023, 3:20:45 PM3/24/23
to Chromium-dev, Paul Jackson
have you tried with  Android Studio
Reply all
Reply to author
Forward
0 new messages