Move platform constraints to bazel_common_rules.

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

Bug: 304594734

Test: treehugger
Change-Id: Ic58f2197e4a692ca5a6604f8a564a88422662dfa
1 file changed
tree: 337de97c705c0a88e237f79b3e7ab4dfc9bdaee8
  1. darwin-x86/
  2. linux-x86/
  4. BUILD.bazel
  5. manifest.xml

Prebuilts for Clang/LLVM-based tools used in Android

For the latest version of this doc, please make sure to visit: Android Clang/LLVM-based Tools Readme Doc

Build Instructions

$ mkdir clang-tools && cd clang-tools
$ repo init -u -b clang-tools
$ repo sync -c
$ OUT_DIR=out prebuilts/clang-tools/

Update Prebuilts

From an AOSP main tree or a clang-tools tree run:

$ prebuilts/clang-tools/ \
    <build-id from go/ab/aosp-clang-tools>