distutils was dropped from Python 3.12. Fortunately, our usage of android-ndk only relied on distutils.dir_util.copy_tree() in build/tools/make_standalone_toolchain.py which is easy to replace with shutil.copytree(). That is done via a small patch. Note that there are more references to distutils in the following files but it looks like our CI/CD flows aren't affected by those: sources/third_party/shaderc/third_party/spirv-tools/utils/generate_registry_tables.py sources/third_party/vulkan/src/scripts/update_deps.py prebuilt/linux-x86_64/bin/python2.7-config prebuilt/linux-x86_64/bin/python-config prebuilt/linux-x86_64/bin/python2-config various files under prebuilt/linux-x86_64/lib/python2.7/ python-packages/fastboot/setup.py python-packages/adb/setup.py |
||
---|---|---|
.. | ||
android-ndk-r21e-linux-x86_64-python3.12+.patch | ||
docopt_meson_install_pkgconfig.patch | ||
docopt_meson_use_boostregex.patch | ||
icu4c_android_elf64_st_info.patch | ||
icu4c_build_config.patch | ||
icu4c_custom_data.patch | ||
icu4c_fix_static_lib_name_mingw.patch | ||
icu4c_noxlocale.patch | ||
icu4c_rpath.patch | ||
icu4c_wasm.patch | ||
libmicrohttpd_meson_pkgconfig.patch | ||
libmicrohttpd_meson_timeval_tvsec_size.patch | ||
libmicrohttpd_meson_winet6.patch | ||
lzma_meson_install.patch | ||
pugixml_meson.patch | ||
zlib_std_libname.patch |