Add test_mapping rule.

The test_mapping target defines a target that,
when `bazel run <target>`, generates a
under {out_dir}/dist/test_mapping.zip, where
{out_dir} is an argument given to the rule.

This is used as a workaround for Bug 201687176
until test_mapping.zip is generated properly.

Bug: 201687176
Bug: 228560650
Test: build for CF

Change-Id: If225dbb320974657713b680dcf8ceac0f85a6830
3 files changed
tree: 156da27068d16ffbd9d3a1cbb3f99ce7dd7b8c23
  1. dist/
  2. docs/
  3. exec/
  4. test_mapping/
  5. OWNERS
  6. 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.