tree: b35e81d59ae46c342ea88c949df6d17daa3e6349 [path history] [tgz]
  1. basemgr.config
  2. modular_config.gni
  3. modular_config_schema.json
  4. README.md
peridot/build/modular_config/README.md

Modular Configuration

Modular can be configured through a JSON file that is packaged through modular_config().

modular_config.gni defines the build rule that does the following:

  1. Validates the client provided configuration against modular_config_schema.json.
  2. Adds the client provided configuration to basemgr's /config/data.
  3. Adds basemgr.config to sysmgr's /config/data. This tells sysmgr to launch basemgr whenever a package created by modular_config() has been included in a device image.