diff --git a/build_scripts/build.sh b/build_scripts/build.sh index b7304c8ff2e91ca447a60d8b420e587eab3abdd4..6df455d604cfcf50a5a980588ba3ecf75542dafc 100755 --- a/build_scripts/build.sh +++ b/build_scripts/build.sh @@ -126,6 +126,8 @@ npm config set @ohos:registry https://repo.harmonyos.com/npm/ npm config set strict-ssl false npm config set lockfile false cat $HOME/.npmrc | grep 'lockfile=false' > /dev/null || echo 'lockfile=false' >> $HOME/.npmrc > /dev/null +cp -rf "${SOURCE_ROOT_DIR}/build/gn" "${SOURCE_ROOT_DIR}/prebuilts/build-tools/linux-x86/bin" +chmod 777 "${SOURCE_ROOT_DIR}/prebuilts/build-tools/linux-x86/bin/gn" function init_ohpm() { TOOLS_INSTALL_DIR="${SOURCE_ROOT_DIR}/prebuilts/build-tools/common" diff --git a/gn b/gn new file mode 100644 index 0000000000000000000000000000000000000000..5dee52ef5c7f5c5e72837755f58c8e85c51fdf71 Binary files /dev/null and b/gn differ