commit | d96a7859e2898e6d8198dea3c2fae52da7f6ff8f | [log] [tgz] |
---|---|---|
author | Matt Stark <msta@google.com> | Tue Jan 24 00:25:22 2023 |
committer | Matt Stark <msta@google.com> | Tue Jan 24 23:40:16 2023 |
tree | bd22c048f564e4977c820e9b935a30ec3ec499f8 | |
parent | 5de3aa9aa8db123e4e1740736ff6ab6a9d0c8a13 [diff] |
Delete WORKSPACE This allows it to work with alchemy. Change-Id: Ic741a4431c63161e2c272becb6956e160ea0d3d2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/rules_cros/+/4190657 Reviewed-by: George Burgess <gbiv@chromium.org> Tested-by: Matt Stark <msta@google.com>
This repository provides common rules and configuration for Bazel projects in Chrome OS.
rules_cros
is only expected to function inside the Chrome OS SDK. You may copy the following snippet into your WORKSPACE file and fix up the relative path in local_repository
to point from your project to where rules_cros
is checked out.
local_repository( name = "rules_cros", path = "../src/platform/rules_cros", ) load("@rules_cros//cros:repositories.bzl", "rules_cros_dependencies") rules_cros_dependencies()
You will also need to symlink .bazelrc
in the root of your project to common.bazelrc in this repo. You can put additional settings in a file named user.bazelrc
in the root of your WORKSPACE and it will automatically be imported by common.bazelrc
.
The code is this directory is experimental and under active development. Stability and functionality is not guaranteed :)