Remove .cmake files from our package.

Shipping .cmake files in the final package means that they might
accidentally be picked up by other developer builds/tooling. We don't
provide many of the .a files mentioned in these .cmake files, so this
could result in unexpected build failures. Removing these files is the
simplest solution, since we didn't really intend to provide them.

Bug: 142327416
Test: Check for .cmake files in outputs after running ./build.py
Change-Id: Iaae3f3494d371f3ad0e3d13f701f843d9d48117f
1 file changed
tree: 224c93815a22deb2e0f39d4d1a143e33f48a1d0a
  1. kernel-boot-tests/
  2. .gitignore
  3. __init__.py
  4. AddressSanitizer.md
  5. android_version.py
  6. bisect_driver.py
  7. build.py
  8. compiler_wrapper.py
  9. mapfile.py
  10. merge_from_upstream.py
  11. MODULE_LICENSE_BSD_LIKE
  12. MODULE_LICENSE_MIT
  13. OWNERS
  14. PREUPLOAD.cfg
  15. README.md
  16. test_compiler.py
  17. update-binutils.py
  18. update-lldb-prebuilts.py
  19. update-prebuilts.py
  20. update_kernel_toolchain.py
  21. utils.py
  22. version.py
README.md

Android Clang/LLVM Toolchain

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

You can also visit the Android Clang/LLVM Prebuilts Readme Doc for more information about our prebuilt toolchains (and what versions they are based upon).

Build Instructions

$ mkdir llvm-toolchain && cd llvm-toolchain
$ repo init -u https://android.googlesource.com/platform/manifest -b llvm-toolchain
$ repo sync -c
$ python toolchain/llvm_android/build.py

If building on Linux, pass --no-build windows to build.py to skip building Clang for Windows.

If you have an additional llvm tree built and present in your $PATH, then build.py might fail during the Windows build of libcxxabi with the error 'libstdc++ version must be at least 4.8.'. The solution is to remove that path from your $PATH before invoking build.py.

More Information

We have a public mailing list that you can subscribe to: android-llvm@googlegroups.com