Move platform constraints to bazel_common_rules.

This enables sharing of platform constraints between platform and kernel builds.

Bug: 304594734

Test: treehugger
Change-Id: Ia3e0e0396acee91e952b05d74771f0158573c683
5 files changed
tree: bfdfa363e6cee8c0a684f15e0b05ce47e5bd6420
  1. dist/
  2. docs/
  3. exec/
  4. platforms/
  5. rules/
  6. test_mappings/
  7. workspace/
  8. OWNERS
  9. README.md
README.md

Bazel Common Rules

This directory contains common Bazel rules and tools shared between the Platform and Kernel builds.

For platform-specific rules, place them in the platform checkout's //build/bazel/rules directory.

For kernel-specific rules, place them in kernel checkout's //build/kleaf directory.