Clone this repo:
  1. 61694fd ap: firmware_builder: Export the per-model config files by Jeremy Bettis · 26 minutes ago main
  2. 4597b41 cros_firmware: Add shared repository_prep utility and wire AP builder by Jon Murphy · 8 days ago firmware-ap-ro-rw-compat-16861.B
  3. aab9890 Fix include path syntax in OWNERS. by Jon Murphy · 3 months ago firmware-R153-16790.2.B firmware-R154-16805.2.B firmware-R155-16820.2.B firmware-R156-16836.2.B firmware-R157-16852.2.B release-R153-16790.B release-R154-16805.B release-R155-16820.B release-R156-16836.B release-R157-16852.B stabilize-16805.31.B
  4. 05de750 Reland "firmware_builder: Remove tests" by Jeremy Bettis · 3 months ago firmware-R152-16765.2.B firmware-tanjiro-16759.B release-R152-16765.B
  5. c9956ac firmware_builder: Attempt to preserve build logs by Jon Murphy · 4 months ago release-R151-16733.B

rules_cros_firmware

This repository contains Bazel rules for building AP and EC firmware. It's the core build logic for the Firmware SDK project.

Getting Started

At the moment, we have a separate repo manifest in this repository (see default.xml). This will change in the future, and is only for early experimentation.

To setup the checkout:

$ mkdir ~/fwsdk
$ cd ~/fwsdk
$ repo init -u https://chromium.googlesource.com/chromiumos/platform/rules_cros_firmware
$ repo sync

Formatting files

All files should be formatted using cros format. Pre-upload checks should validate you did this.

Submitting changes

At the moment, we do not have CI setup in this repository, and it's not part of the main ChromeOS build, so changes should be chumped.

At a later point we'll have some CI going.