aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2020-04-14 13:21:08 -0700
committerDan Albert <danalbert@google.com>2020-04-14 13:26:07 -0700
commit3c75f44db159a61a0a34e3724f3751eff2e356b0 (patch)
treeb1164ffbc824ba6f96421560f8ff423ce4766f73
parentbe7c0b2ea5881fe87242086a366f2bc231f25b7a (diff)
downloadndk-3c75f44db159a61a0a34e3724f3751eff2e356b0.tar.gz
Document the clang version locations.
Longer term we can remove the need for all of these. 1 can be removed today with a little work to migrate any modules still using it. 2 can be removed once all our builds are off those ancient shell scripts. 3 can be removed when we get properly integrated with CMake (https://github.com/android/ndk/issues/463). But for now documenting them means I'll stop forgetting step 3. Test: None Bug: None Change-Id: I18625db76891ed9810bec29b92a61258063008d0
-rw-r--r--ndk/toolchains.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ndk/toolchains.py b/ndk/toolchains.py
index d8f9f5ee6..f3ac8b510 100644
--- a/ndk/toolchains.py
+++ b/ndk/toolchains.py
@@ -23,6 +23,12 @@ from ndk.hosts import Host, get_default_host
import ndk.paths
+# When updating this, also update:
+#
+# 1. prebuilts/ndk (with ./symlink_clang.py in that repository)
+# 2. get_llvm_toolchain_binprefix in build/tools/prebuilt-common.sh
+# 3. CMAKE_C_COMPILER_VERSION and CMAKE_CXX_COMPILER_VERSION in
+# build/cmake/android.toolchain.cmake
CLANG_VERSION = 'clang-r365631c1'