From 4d4155833011568102ae29aa7d76e81afa1899d6 Mon Sep 17 00:00:00 2001 From: hongbinj Date: Mon, 27 Nov 2023 06:36:09 +0000 Subject: [PATCH] Remove the placeholder file for lldb-mi which is no longer needed Issue: I8JQR9 Build & Test: compiled OH SDK from scratch, and no error was indicated Signed-off-by: hongbinj Change-Id: I119d98e322a0c15aa4f0371b9f8a6abc74cdea3d --- prebuilts_download.sh | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/prebuilts_download.sh b/prebuilts_download.sh index 15da2648e6..513be49d28 100755 --- a/prebuilts_download.sh +++ b/prebuilts_download.sh @@ -191,43 +191,6 @@ llvm_dir_mac_x86="${code_dir}/prebuilts/clang/ohos/darwin-x86_64" llvm_dir_mac_arm64="${code_dir}/prebuilts/clang/ohos/darwin-arm64" llvm_dir_list=($llvm_dir $llvm_dir_win $llvm_dir_mac_x86 $llvm_dir_mac_arm64) -function create_executable() { - exe_dir=$1 - exe_name=$2 - exe_path=$exe_dir/$exe_name - - if [[ ! -d "$exe_dir" ]]; then - echo "Error: directory '$exe_dir' does not exist while creating $exe_name" - return 1 - fi - - if [[ ! -e "$exe_path" ]]; then - touch $exe_path - chmod 755 $exe_path - echo "Created $exe_path" - else - echo "Warning: '$exe_path' already exists, will not create it" - fi -} - -function create_lldb_mi() { - if [[ "$host_platform" == "linux" ]]; then - create_executable $llvm_dir/llvm/bin "lldb-mi" - create_executable $llvm_dir_win/llvm/bin "lldb-mi.exe" - elif [[ "$host_platform" == "darwin" ]]; then - if [[ "$host_cpu" == "arm64" ]]; then - create_executable $llvm_dir_mac_arm64/llvm/bin "lldb-mi" - elif [[ "$host_cpu" == "x86_64" ]]; then - create_executable $llvm_dir_mac_x86/llvm/bin "lldb-mi" - else - echo "Error: unrecognized CPU '$host_cpu' for Darwin" - return 1 - fi - else - echo "Error: unsupported host platform '$host_platform'" - fi -} - # copy libcxx-ndk library outside c++ function copy_inside_cxx(){ for i in ${llvm_dir_list[@]} @@ -299,7 +262,6 @@ if [[ "${BUILD_ARKUIX}" != "YES" ]]; then change_rustlib_name echo "======change rustlib name finished!======" fi - create_lldb_mi fi echo -e "\n" fi -- Gitee