0

android_build_instructions.md: Mention chrome_public_bundle

Bug: 1426950
Change-Id: I4d5939556840ddef19676a67bca6d7495085dcee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4517783
Commit-Queue: Peter Wen <wnwen@chromium.org>
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1142268}
This commit is contained in:
Andrew Grieve
2023-05-10 19:07:40 +00:00
committed by Chromium LUCI CQ
parent eb77e390d9
commit 90ba57f351

@ -179,22 +179,21 @@ out/Default chrome/test:unit_tests`).
### Multiple Chrome Targets
The Google Play Store allows apps to send customized `.apk` or `.aab` files
The Google Play Store allows apps to send customized bundles (`.aab` files)
depending on the version of Android running on a device. Chrome uses this
feature to package optimized versions for different OS versions.
1. `monochrome_public_bundle` (MonochromePublic.aab)
1. `monochrome_public_bundle` (`MonochromePublic.aab`)
* `minSdkVersion=24` (Nougat).
* Contains both Chrome and WebView (to save disk space).
2. `trichrome_chrome_bundle` (TrichromeChrome.aab)
2. `trichrome_chrome_bundle` (`TrichromeChrome.aab`)
* `minSdkVersion=29` (Android 10).
* Native code shared with WebView through a "Static Shared Library APK": `trichrome_library_apk`
* Corresponding WebView target: `trichrome_webview_bundle`
3. `chrome_public_apk` (ChromePublic.apk)
3. `chrome_public_bundle` & `chrome_public_apk` (`ChromePublic.aab`, `ChromePublic.apk`)
* `minSdkVersion=24` (Nougat).
* WebView packaged independently (`system_webview_apk`).
* Used for only local development and tests (simpler than using bundle
targets).
* Used for local development (to avoid building WebView).
* WebView packaged independently (`system_webview_bundle` / `system_webview_apk`).
*** note
**Notes:**