Chrome on Android App Bundles and Dynamic Feature Modules
This directory contains GN templates and code for Chrome-specific dynamic feature modules. Among others, it offers the following:
-
A list of descriptors for all modules packaged into the Chrome bundles in
chrome_feature_modules.gni. -
A GN template to instantiate a Chrome-specific module in
chrome_feature_module_tmpl.gni. It wraps anandroid_app_bundle_moduleand adds things like multi ABI (e.g. 64 bit browser and 32 bit WebView) and auto-generated Java module descriptors (see here for more details). -
A GN template to instantiate a Chrome-specific bundle in
chrome_bundle_tmpl.gni. It instantiates achrome_feature_modulefor each passed module descriptors as well as anandroid_app_bundle. -
A subfolder for each module containing module-specific code such as module interfaces and providers.