Skip to content

Commit

Permalink
no more goma
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed May 4, 2024
1 parent 4246659 commit a9efeb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
11 changes: 0 additions & 11 deletions chromium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,6 @@ function dtcr () {



function gom () {
# these probably dont make sense for everyone.
export GOMAMAILTO=/dev/null
export GOMA_ENABLE_REMOTE_LINK=yes

goma_ctl ensure_start
}

function dtbcr () {
if dtb; then
dtcr
Expand All @@ -89,21 +81,18 @@ function bcr () {

function depsb () {
if deps; then
gom
b
fi
}

function depsbcr () {
if deps; then
gom
bcr
fi
}

function hooksbcr () {
if hooks; then
gom
bcr
fi
}
19 changes: 6 additions & 13 deletions fish/chromium.fish
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
function deps --description "run gclient sync"
function deps --description "run gclient sync without hooks"
# --reset drops local changes. often great, but if making changes inside v8, you don't want to use --reset
# also reset seems to reset branch position in the devtools-internal repo??? weird.
gclient sync --delete_unversioned_trees --jobs=70 --verbose
gclient sync --delete_unversioned_trees --jobs=70 --verbose --nohooks
end

function depshooks --description "run gclient sync then hooks"
deps && gclient runhooks
end

function depsbg --description "run gclient sync in the background"
Expand Down Expand Up @@ -123,33 +127,22 @@ end

function depsb --description "deps, then build chromium, then open it"
if deps
# # if [ "$argv[1]" = "--skipgoma" ] ...
gom
b
end
end

function depsbcr --description "deps, then build chromium, then open it"
if deps
# # if [ "$argv[1]" = "--skipgoma" ] ...
gom
bcr
end
end

function hooksbcr --description "run hooks, then build chromium, then open it"
if hooks
gom
bcr
end
end

function gom --description "run goma setup"
set -x GOMAMAILTO /dev/null
set -x GOMA_ENABLE_REMOTE_LINK yes

goma_ctl ensure_start
end

function glurpgrab0
rsync --archive --verbose --itemize-changes --compress --human-readable --delete paulirish@glurp:chromium/src/out/Mac-cross-siso/Chromium.app $HOME/chromium/src/out/Mac-cross-from-glurp/
Expand Down

0 comments on commit a9efeb1

Please sign in to comment.