build: fix build-tools schema in config (#37765)
This commit is contained in:
parent
4ca6fb3c4e
commit
7c4f4c537e
1 changed files with 7 additions and 6 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue