commit | 967a8ec1daa118756c977e518a74761cd5b6f530 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Tue Apr 19 14:00:08 2022 -0700 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 20 08:49:49 2022 +0000 |
tree | 9f7fc1d55a1ecb756aabc0e774dc7a3c061d4927 | |
parent | a2e8126848c451d1edab811fc3ab6bff0858d65d [diff] |
platforms: add aarch64 This lets us test our new CQ coverage, and have a platform we'll actually need. Whee. BUG=None TEST=bazel-5 build --platforms=@rules_cros//cros/platforms:cros_aarch64 Change-Id: I1bb26f986895fd0c9151a0e7414f71d4853b1cfb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/rules_cros/+/3595033 Reviewed-by: Chris McDonald <cjmcdonald@chromium.org> Commit-Queue: George Burgess <gbiv@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
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 :)