зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1321876: remove unused builder scripts; r=gps
MozReview-Commit-ID: GILSlgn0JLq --HG-- extra : rebase_source : b9b7cfa8b3e3bd52afc9a41990ca4eef676f4752
This commit is contained in:
Родитель
0989681922
Коммит
bdae9f6884
|
@ -1,24 +0,0 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
test $MOZCONFIG # mozconfig is required...
|
||||
test -d $1 # workspace must exist at this point...
|
||||
WORKSPACE=$( cd "$1" && pwd )
|
||||
|
||||
. setup-ccache.sh
|
||||
|
||||
# Gecko source:
|
||||
export GECKO_DIR=$WORKSPACE/gecko
|
||||
# Gaia source:
|
||||
export GAIA_DIR=$WORKSPACE/gaia
|
||||
# Mozbuild config:
|
||||
export MOZBUILD_STATE_PATH=$WORKSPACE/mozbuild/
|
||||
|
||||
# Create .mozbuild so mach doesn't complain about this
|
||||
mkdir -p $MOZBUILD_STATE_PATH
|
||||
|
||||
### Install package dependencies
|
||||
install-packages.sh ${TOOLTOOL_DIR:-$GECKO_DIR}
|
||||
|
||||
# Ensure object-folder exists
|
||||
export MOZ_OBJDIR=$WORKSPACE/object-folder/
|
||||
mkdir -p $MOZ_OBJDIR
|
|
@ -1,20 +0,0 @@
|
|||
#!/usr/bin/env python2.7
|
||||
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import os
|
||||
import json
|
||||
import subprocess
|
||||
from StringIO import StringIO
|
||||
|
||||
gecko_dir = sys.argv[1]
|
||||
os.chdir(gecko_dir)
|
||||
|
||||
result = subprocess.check_output(["./mach", "environment", "--format", "json"])
|
||||
environment = json.load(StringIO(result))
|
||||
|
||||
topobjdir = environment["mozconfig"]["topobjdir"]
|
||||
if topobjdir is None:
|
||||
topobjdir = sys.argv[2]
|
||||
|
||||
print(topobjdir)
|
|
@ -1,13 +0,0 @@
|
|||
#!/bin/bash -vex
|
||||
|
||||
gecko_dir=$1
|
||||
test -d $gecko_dir
|
||||
test -n "$TOOLTOOL_CACHE"
|
||||
test -n "$TOOLTOOL_MANIFEST"
|
||||
test -n "$TOOLTOOL_REPO"
|
||||
test -n "$TOOLTOOL_REV"
|
||||
|
||||
tc-vcs checkout $gecko_dir/tooltool $TOOLTOOL_REPO $TOOLTOOL_REPO $TOOLTOOL_REV
|
||||
|
||||
(cd $gecko_dir; python $gecko_dir/tooltool/tooltool.py --url https://api.pub.build.mozilla.org/tooltool/ -m $gecko_dir/$TOOLTOOL_MANIFEST fetch -c $TOOLTOOL_CACHE)
|
||||
|
Загрузка…
Ссылка в новой задаче