Document build and update steps for clang-tools

Also add an update-prebuilts.sh helper that calls the actual update
script inside $ANDROID_BUILD_TOP/development/vndk/.

Test: ./update-prebuilts.sh 7423890
Change-Id: Id2b0232104099f42e2cbdb8053e4fbb42a607d46
2 files changed
tree: 48185430bfa8d36a3c974be54e98fdb8701c43fe
  1. darwin-x86/
  2. linux-x86/
  3. build-prebuilts.sh
  4. manifest.xml
  5. README.md
  6. 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>