diff --git a/prebuilts_download.sh b/prebuilts_download.sh index cbc0d3b6d6e59f781d2015db1702ad837d6ef8c9..4baee1038571105fce05542e8a060c063e1678c9 100755 --- a/prebuilts_download.sh +++ b/prebuilts_download.sh @@ -15,6 +15,31 @@ set -e script_path=$(cd $(dirname $0);pwd) code_dir=$(dirname ${script_path}) +pushd ${code_dir} + pushd arkcompiler/runtime_core + wget https://gitee.com/openharmony/arkcompiler_runtime_core/pulls/438.diff --no-check-certificate + patch -p1 < 438.diff + rm -rf 438.diff + popd + + pushd arkcompiler/ets_frontend + wget https://gitee.com/openharmony/arkcompiler_ets_frontend/pulls/1207.diff --no-check-certificate + patch -p1 < 1207.diff + rm -rf 1207.diff + popd + + pushd build + wget https://gitee.com/openharmony/build/pulls/2406.diff --no-check-certificate + patch -p1 < 2406.diff + rm -rf 2406.diff + popd + + arkcompiler/runtime_core/static_core/scripts/install-third-party + cp -rf arkcompiler/runtime_core/static_core/third_party/vixl ./third_party/ + rm -rf arkcompiler/runtime_core/static_core/third_party + + echo '{"name": "@ohos/vixl","description": "third party:vixl","version": "6.2.0","license": "BSD-style","publishAs": "code-segment","segment": {"destPath": "third_party/vixl"},"dirs": {},"scripts": {},"component": {"name": "vixl","subsystem": "thirdparty","syscap": [],"features": [],"adapted_system_type": [],"rom": "","ram": "","deps": {"components": [],"third_party": []},"build": {"sub_component": [],"inner_kits": [],"test": []}}}' > third_party/vixl/bundle.json +popd if [[ "${@}" =~ "--tool-repo" && -f "${code_dir}/prebuilts.sh" ]]; then # prebuilts.sh should be a symbolic link to a prebuilts_download.sh created by oneself.