fwsdk: Add nonhermetic repo from opentitan.

This exports environment variables and is use to access gcloud
credentials for ti50 developer image signing.

BUG=none
TEST=make bazel_signed_bin

Cq-Depend: chromium:5610333
Change-Id: Ica98e4308b93c11ee5aa17134ff622076e65d56a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/rules_cros_firmware/+/5609461
Reviewed-by: Matt Stark <msta@google.com>
Tested-by: Brian Granaghan <granaghan@google.com>
Auto-Submit: Brian Granaghan <granaghan@google.com>
Commit-Queue: Brian Granaghan <granaghan@google.com>
1 file changed
tree: 14045c64f36f1dedf6f9e18a63be4c8f423508f3
  1. cros_firmware/
  2. repositories/
  3. default.xml
  4. DIR_METADATA
  5. fwsdk_smoke_test.py
  6. OWNERS
  7. PRESUBMIT.cfg
  8. README.md
README.md

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.