Lines Matching refs:code_dir
17 code_dir=$(dirname ${script_path})
19 if [[ "${@}" =~ "--tool-repo" && -f "${code_dir}/prebuilts.sh" ]]; then
21 bash ${code_dir}/prebuilts.sh $@
171 if [ -d "${code_dir}/prebuilts/build-tools/common/nodejs" ];then
172 rm -rf "${code_dir}/prebuilts/build-tools/common/nodejs"
175 python3 "${code_dir}/build/prebuilts_download.py" $wget_ssl_check $tool_repo $npm_registry $help $c…
177 if [ -f "${code_dir}/prebuilts/cmake/linux-x86/bin/ninja" ];then
178 rm -rf "${code_dir}/prebuilts/cmake/linux-x86/bin/ninja"
180 if [ -f "${code_dir}/prebuilts/cmake/windows-x86/bin/ninja.exe" ];then
181 rm -rf "${code_dir}/prebuilts/cmake/windows-x86/bin/ninja.exe"
183 if [ -f "${code_dir}/prebuilts/cmake/darwin-x86/bin/ninja" ];then
184 rm -rf "${code_dir}/prebuilts/cmake/darwin-x86/bin/ninja"
188 if [[ -d "${code_dir}/prebuilts/mingw-w64/ohos/linux-x86_64/clang-mingw/bin" && ! -f "${code_dir}/p…
189 …cp -rf "${code_dir}/build/x86_64-w64-mingw32-clang" "${code_dir}/prebuilts/mingw-w64/ohos/linux-x8…
194 …sed -i "1s%.*%#!/usr/bin/env python3%" ${code_dir}/prebuilts/python/${host_platform}-x86/3.10.2/bi…
196 …sed -i "" "1s%.*%#!/use/bin/env python3%" ${code_dir}/prebuilts/python/${host_platform}-x86/3.10.2…
198 prebuild_python3_path="$code_dir/prebuilts/python/${host_platform}-x86/3.10.2/bin/python3.10"
199 prebuild_pip3_path="${code_dir}/prebuilts/python/${host_platform}-x86/3.10.2/bin/pip3.10"
203 llvm_dir="${code_dir}/prebuilts/clang/ohos/linux-x86_64"
204 llvm_dir_win="${code_dir}/prebuilts/clang/ohos/windows-x86_64"
205 llvm_dir_mac_x86="${code_dir}/prebuilts/clang/ohos/darwin-x86_64"
206 llvm_dir_mac_arm64="${code_dir}/prebuilts/clang/ohos/darwin-arm64"