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/
  3. build-prebuilts.sh
  4. BUILD.bazel
  5. manifest.xml
  6. README.md
  7. update-prebuilts.sh
README.md

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 https://android.googlesource.com/platform/manifest -b clang-tools
$ repo sync -c
$ OUT_DIR=out prebuilts/clang-tools/build-prebuilts.sh

Update Prebuilts

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

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