Update links. Bug: None Test: None Change-Id: I5019d9b905dd6c9e6b19e58e5bd90e77ee0ca08e
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 76b1c11..9725386 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md
@@ -6,7 +6,7 @@ listed on our wiki: https://github.com/android-ndk/ndk/wiki#downloads. Make sure your issue isn't on the list of common problems before filing a bug: -https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md +https://developer.android.com/ndk/guides/common-problems Delete everything above this line before submitting.
diff --git a/README.md b/README.md index fcee28d..12706de 100644 --- a/README.md +++ b/README.md
@@ -1,7 +1,7 @@ # Android Native Development Kit (NDK) The latest version of this document is available at -https://android.googlesource.com/platform/ndk/+/main/README.md. +https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/README.md. **Note:** This document is for developers _of_ the NDK, not developers that use the NDK.
diff --git a/build/cmake/android-legacy.toolchain.cmake b/build/cmake/android-legacy.toolchain.cmake index 3f92780..36aa474 100644 --- a/build/cmake/android-legacy.toolchain.cmake +++ b/build/cmake/android-legacy.toolchain.cmake
@@ -155,7 +155,7 @@ set(ANDROID_TOOLCHAIN clang) elseif(ANDROID_TOOLCHAIN STREQUAL gcc) message(FATAL_ERROR "GCC is no longer supported. See " - "https://android.googlesource.com/platform/ndk/+/master/docs/ClangMigration.md.") + "https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/docs/ClangMigration.md.") endif() if(NOT ANDROID_ABI) set(ANDROID_ABI armeabi-v7a)
diff --git a/build/cmake/android.toolchain.cmake b/build/cmake/android.toolchain.cmake index adbf189..86c09a8 100644 --- a/build/cmake/android.toolchain.cmake +++ b/build/cmake/android.toolchain.cmake
@@ -166,7 +166,7 @@ set(ANDROID_TOOLCHAIN clang) elseif(ANDROID_TOOLCHAIN STREQUAL gcc) message(FATAL_ERROR "GCC is no longer supported. See " - "https://android.googlesource.com/platform/ndk/+/master/docs/ClangMigration.md.") + "https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/docs/ClangMigration.md.") endif() if(ANDROID_NATIVE_API_LEVEL AND NOT ANDROID_PLATFORM)
diff --git a/build/core/setup-app-platform.mk b/build/core/setup-app-platform.mk index c5ed8ae..f27dedd 100644 --- a/build/core/setup-app-platform.mk +++ b/build/core/setup-app-platform.mk
@@ -122,7 +122,7 @@ android:minSdkVersion $(_minsdkversion) in $(APP_MANIFEST). NDK \ binaries will *not* be compatible with devices older than \ $(APP_PLATFORM). See \ - https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md \ + https://developer.android.com/ndk/guides/common-problems \ for more information.) endif endif
diff --git a/build/core/setup-app.mk b/build/core/setup-app.mk index 70724dd..3c863ae 100644 --- a/build/core/setup-app.mk +++ b/build/core/setup-app.mk
@@ -65,7 +65,7 @@ ifneq ($(_bad_abis),) ifneq ($(filter $(_bad_abis),armeabi-v7a-hard),) $(call __ndk_info,armeabi-v7a-hard is no longer supported. Use armeabi-v7a.) - $(call __ndk_info,See https://android.googlesource.com/platform/ndk/+/master/docs/HardFloatAbi.md) + $(call __ndk_info,See https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/docs/HardFloatAbi.md) else ifneq ($(filter $(_bad_abis),armeabi),) $(call __ndk_info,The armeabi ABI is no longer supported. Use armeabi-v7a.) else ifneq ($(filter $(_bad_abis),mips mips64),)
diff --git a/docs/Architecture.md b/docs/Architecture.md index 6d0958b..813b67d 100644 --- a/docs/Architecture.md +++ b/docs/Architecture.md
@@ -1,7 +1,7 @@ # Architecture The latest version of this document is available at -https://android.googlesource.com/platform/ndk/+/master/docs/Architecture.md. +https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/docs/Architecture.md. The core NDK is the zip file that is built in this repository and distributed by the SDK manager. It bundles the outputs of several other projects into a package
diff --git a/docs/BuildSystemMaintainers.md b/docs/BuildSystemMaintainers.md index 5487c0f..b75ef52 100644 --- a/docs/BuildSystemMaintainers.md +++ b/docs/BuildSystemMaintainers.md
@@ -1,7 +1,7 @@ # Build System Maintainers Guide The latest version of this document is available at -https://android.googlesource.com/platform/ndk/+/master/docs/BuildSystemMaintainers.md. +https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/docs/BuildSystemMaintainers.md. Ensure that you are using the version that corresponds to your NDK. Replace `master` in the URL with the appropriate NDK release branch. For example, the NDK r28 version of this document is located at
diff --git a/docs/Building.md b/docs/Building.md index 26cecbb..aef577c 100644 --- a/docs/Building.md +++ b/docs/Building.md
@@ -1,7 +1,7 @@ # Building the NDK The latest version of this document is available at -https://android.googlesource.com/platform/ndk/+/master/docs/Building.md. +https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/docs/Building.md. Both Linux and Windows NDKs are built on Linux machines. Windows host binaries are cross-compiled with MinGW.
diff --git a/docs/Onboarding.md b/docs/Onboarding.md index 0116d72..53e86d2 100644 --- a/docs/Onboarding.md +++ b/docs/Onboarding.md
@@ -1,7 +1,7 @@ # Onboarding The latest version of this document is available at -https://android.googlesource.com/platform/ndk/+/master/docs/Onboarding.md. +https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/docs/Onboarding.md. Welcome to the Android NDK! This guide will explain how to get started working on the NDK (if you want to work *with* the NDK, see the [user
diff --git a/docs/PlatformApis.md b/docs/PlatformApis.md index 2cb85b2..e99fa4d 100644 --- a/docs/PlatformApis.md +++ b/docs/PlatformApis.md
@@ -1,7 +1,7 @@ # Platform APIs The latest version of this document is available at -https://android.googlesource.com/platform/ndk/+/master/docs/PlatformApis.md. +https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/docs/PlatformApis.md. ## Implications of Adding a New Platform API @@ -158,7 +158,7 @@ `cts/tests/tests/jni/src/android/jni/cts/LinkerNamespacesHelper.java`. Simply add your library to the `PUBLIC_SYSTEM_LIBRARIES` list in that file. -[bionic/libc/Android.bp]: https://android.googlesource.com/platform/bionic/+/master/libc/Android.bp +[bionic/libc/Android.bp]: https://android.googlesource.com/platform/bionic/+/main/libc/Android.bp ### Making sure it works
diff --git a/docs/Roadmap.md b/docs/Roadmap.md index df8c6b9..c7a9703 100644 --- a/docs/Roadmap.md +++ b/docs/Roadmap.md
@@ -319,7 +319,7 @@ Added [unified headers] (opt-in). -[unified headers]: https://android.googlesource.com/platform/ndk/+/master/docs/UnifiedHeaders.md +[unified headers]: https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/docs/UnifiedHeaders.md ### NDK r13
diff --git a/docs/Testing.md b/docs/Testing.md index 22a9ffa..f51d64a 100644 --- a/docs/Testing.md +++ b/docs/Testing.md
@@ -1,7 +1,7 @@ # Testing the NDK The latest version of this document is available at -https://android.googlesource.com/platform/ndk/+/master/docs/Testing.md. +https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/docs/Testing.md. The NDK tests are built as part of a normal build (with `checkbuild.py`) and run with `run_tests.py`. See [Building.md] for more instructions on building the
diff --git a/docs/Toolchains.md b/docs/Toolchains.md index 0bae4f6..3c2ef5b 100644 --- a/docs/Toolchains.md +++ b/docs/Toolchains.md
@@ -1,7 +1,7 @@ # Working with the NDK Toolchains The latest version of this document is available at -https://android.googlesource.com/platform/ndk/+/master/docs/Toolchains.md. +https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/docs/Toolchains.md. The LLVM toolchain shipped in the NDK is not built as a part of the NDK build process. Instead is it built separately and checked into git as a prebuilt that @@ -28,7 +28,7 @@ `prebuilts/clang/host/$HOST/clang-$REVISION`. `checkbuild.py toolchain` repackages this into the NDK out directory. -[Android LLVM Readme]: https://android.googlesource.com/toolchain/llvm_android/+/master/README.md +[Android LLVM Readme]: https://android.googlesource.com/toolchain/llvm_android/+/refs/heads/mirror-goog-main-llvm-toolchain-source/README.md ### Updating to a New Clang @@ -40,7 +40,7 @@ will handle installing the new toolchain to prebuilts, but the NDK team usually makes the change to migrate to the new toolchain as described below. -[update-prebuilts.py]: https://android.googlesource.com/toolchain/llvm_android/+/master/update-prebuilts.py +[update-prebuilts.py]: https://android.googlesource.com/toolchain/llvm_android/+/refs/heads/mirror-goog-main-llvm-toolchain-source/update-prebuilts.py ```bash # Edit ndk/toolchains.py and update `CLANG_VERSION`.
diff --git a/docs/changelogs/Changelog-r30.md b/docs/changelogs/Changelog-r30.md index 31cf08a..b967153 100644 --- a/docs/changelogs/Changelog-r30.md +++ b/docs/changelogs/Changelog-r30.md
@@ -10,7 +10,7 @@ [GitHub]: https://github.com/android/ndk/issues [build system maintainers guide]: - https://android.googlesource.com/platform/ndk/+/master/docs/BuildSystemMaintainers.md + https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/docs/BuildSystemMaintainers.md ## Announcements
diff --git a/ndk/pythonenv.py b/ndk/pythonenv.py index ebf92bf..d954c59 100644 --- a/ndk/pythonenv.py +++ b/ndk/pythonenv.py
@@ -19,7 +19,7 @@ import sys import textwrap -PYTHON_DOCS = "https://android.googlesource.com/platform/ndk/+/master/docs/Building.md#python-environment-setup" +PYTHON_DOCS = "https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/docs/Building.md#python-environment-setup" def ensure_poetry_if_available() -> None:
diff --git a/ndk/run_tests.py b/ndk/run_tests.py index 54d04dd..7f1d915 100755 --- a/ndk/run_tests.py +++ b/ndk/run_tests.py
@@ -76,7 +76,7 @@ def parse_args() -> argparse.Namespace: - doc = "https://android.googlesource.com/platform/ndk/+/master/docs/Testing.md" + doc = "https://android.googlesource.com/platform/ndk/+/mirror-goog-main-ndk/docs/Testing.md" parser = argparse.ArgumentParser(epilog="See {} for more information.".format(doc)) def PathArg(path: str) -> Path: