build: fix build-tools schema in config (#37765)

This commit is contained in:
Shelley Vohr 2023-03-31 12:20:02 +02:00 committed by GitHub
parent 4ca6fb3c4e
commit 7c4f4c537e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,8 +35,13 @@ if [ ! -f $buildtools/configs/evm.testing.json ]; then
write_config() { write_config() {
echo " echo "
{ {
\"root\": \"/workspaces/gclient\",
\"goma\": \"$1\", \"goma\": \"$1\",
\"root\": \"/workspaces/gclient\",
\"remotes\": {
\"electron\": {
\"origin\": \"https://github.com/electron/electron.git\"
}
}
\"gen\": { \"gen\": {
\"args\": [ \"args\": [
\"import(\\\"//electron/build/args/testing.gn\\\")\", \"import(\\\"//electron/build/args/testing.gn\\\")\",
@ -48,11 +53,7 @@ if [ ! -f $buildtools/configs/evm.testing.json ]; then
\"CHROMIUM_BUILDTOOLS_PATH\": \"/workspaces/gclient/src/buildtools\", \"CHROMIUM_BUILDTOOLS_PATH\": \"/workspaces/gclient/src/buildtools\",
\"GIT_CACHE_PATH\": \"/workspaces/gclient/.git-cache\" \"GIT_CACHE_PATH\": \"/workspaces/gclient/.git-cache\"
}, },
\"remotes\": { \"$schema\": \"file:///home/builduser/.electron_build_tools/evm-config.schema.json\"
\"electron\": {
\"origin\": \"https://github.com/electron/electron.git\"
}
}
} }
" >$buildtools/configs/evm.testing.json " >$buildtools/configs/evm.testing.json
} }