diff --git a/compile_standard_whitelist.json b/compile_standard_whitelist.json index ea5b2b5e77037d335bc2c5b64b07e78fc5ff6d34..749d7f551eb4a1ca9c562249e87c1cfe03e01ae7 100644 --- a/compile_standard_whitelist.json +++ b/compile_standard_whitelist.json @@ -47,6 +47,8 @@ "//arkcompiler/ets_runtime/ecmascript/compiler:ark_aot_compiler", "//arkcompiler/ets_runtime/ecmascript/compiler:libark_jsoptimizer_set", "//arkcompiler/ets_runtime/ecmascript/pgo_profiler/prof_dump:profdump", + "//arkcompiler/ets_frontend/ets2panda:libes2panda_frontend_static", + "//arkcompiler/ets_frontend/ets2panda/aot:es2panda", "//arkcompiler/ets_runtime:libark_js_intl_set", "//arkcompiler/ets_runtime:libark_jsruntime", "//arkcompiler/ets_runtime:libark_jsruntime_set", diff --git a/core/gn/ohos_exec_script_allowlist.gni b/core/gn/ohos_exec_script_allowlist.gni index a6c96f6cb98db312c89c8b1398b29c92452b4a0e..96d8dcd0ae219dd35df40b9d7bf234d6ec161ca9 100644 --- a/core/gn/ohos_exec_script_allowlist.gni +++ b/core/gn/ohos_exec_script_allowlist.gni @@ -20,6 +20,7 @@ ohos_exec_script_config = { "//arkcompiler/toolchain/build/test.gni", "//arkcompiler/toolchain/build/third_party_gn/musl/BUILD.gn", "//arkcompiler/toolchain/build/third_party_gn/openssl/BUILD.gn", + "//arkcompiler/runtime_core/static_core/libpandabase/BUILD.gn", "//base/hiviewdfx/hiview/BUILD.gn", "//base/security/access_token/access_token.gni", "//base/security/selinux_adapter/BUILD.gn", diff --git a/prebuilts_download.sh b/prebuilts_download.sh index cbc0d3b6d6e59f781d2015db1702ad837d6ef8c9..08c0ee62a1be44a64f88b0e7fd0dfe4d8b4531e9 100755 --- a/prebuilts_download.sh +++ b/prebuilts_download.sh @@ -15,7 +15,12 @@ set -e script_path=$(cd $(dirname $0);pwd) code_dir=$(dirname ${script_path}) - +pushd ${code_dir} + 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. bash ${code_dir}/prebuilts.sh $@