Simplify things from workspace_phase*.bzl.

Now, the only thing we define in workspace_phase* are the toolchains.

BUG=b:333301580
TEST=Locally testing with new module.bazel

Change-Id: Idc1af639c8c0ab9a608c7548c4586ca4f39ae3a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/rules_cros_firmware/+/5433733
Reviewed-by: Brian Granaghan <granaghan@google.com>
Auto-Submit: Matt Stark <msta@google.com>
Commit-Queue: Matt Stark <msta@google.com>
Tested-by: Matt Stark <msta@google.com>
Reviewed-by: Matt Stark <msta@google.com>
4 files changed
tree: 1c423157f232ebad771d5948c5ff69dd99ac8819
  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.