summaryrefslogtreecommitdiffstats
path: root/testing/mozharness/configs/hazards
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /testing/mozharness/configs/hazards
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/mozharness/configs/hazards')
-rw-r--r--testing/mozharness/configs/hazards/build_browser.py4
-rw-r--r--testing/mozharness/configs/hazards/build_shell.py4
-rw-r--r--testing/mozharness/configs/hazards/common.py104
3 files changed, 112 insertions, 0 deletions
diff --git a/testing/mozharness/configs/hazards/build_browser.py b/testing/mozharness/configs/hazards/build_browser.py
new file mode 100644
index 000000000..a08efe925
--- /dev/null
+++ b/testing/mozharness/configs/hazards/build_browser.py
@@ -0,0 +1,4 @@
+config = {
+ 'build_command': "build.browser",
+ 'expect_file': "expect.browser.json",
+}
diff --git a/testing/mozharness/configs/hazards/build_shell.py b/testing/mozharness/configs/hazards/build_shell.py
new file mode 100644
index 000000000..16135705a
--- /dev/null
+++ b/testing/mozharness/configs/hazards/build_shell.py
@@ -0,0 +1,4 @@
+config = {
+ 'build_command': "build.shell",
+ 'expect_file': "expect.shell.json",
+}
diff --git a/testing/mozharness/configs/hazards/common.py b/testing/mozharness/configs/hazards/common.py
new file mode 100644
index 000000000..f8d751044
--- /dev/null
+++ b/testing/mozharness/configs/hazards/common.py
@@ -0,0 +1,104 @@
+import os
+
+HG_SHARE_BASE_DIR = "/builds/hg-shared"
+
+PYTHON_DIR = "/tools/python27"
+SRCDIR = "source"
+
+config = {
+ "platform": "linux64",
+ "build_type": "br-haz",
+ "log_name": "hazards",
+ "shell-objdir": "obj-opt-js",
+ "analysis-dir": "analysis",
+ "analysis-objdir": "obj-analyzed",
+ "srcdir": SRCDIR,
+ "analysis-scriptdir": "js/src/devtools/rootAnalysis",
+
+ # These paths are relative to the tooltool checkout location
+ "sixgill": "sixgill/usr/libexec/sixgill",
+ "sixgill_bin": "sixgill/usr/bin",
+
+ "python": "python",
+
+ "exes": {
+ 'gittool.py': '%(abs_tools_dir)s/buildfarm/utils/gittool.py',
+ 'tooltool.py': '/tools/tooltool.py',
+ "virtualenv": [PYTHON_DIR + "/bin/python", "/tools/misc-python/virtualenv.py"],
+ },
+
+ "force_clobber": True,
+ 'vcs_share_base': HG_SHARE_BASE_DIR,
+
+ "repos": [{
+ "repo": "https://hg.mozilla.org/build/tools",
+ "branch": "default",
+ "dest": "tools"
+ }],
+
+ "upload_remote_baseuri": 'https://ftp-ssl.mozilla.org/',
+ "default_blob_upload_servers": [
+ "https://blobupload.elasticbeanstalk.com",
+ ],
+ "blob_uploader_auth_file": os.path.join(os.getcwd(), "oauth.txt"),
+
+ "virtualenv_path": '%s/venv' % os.getcwd(),
+ 'tools_dir': "/tools",
+ 'compiler_manifest': "build/gcc.manifest",
+ 'b2g_compiler_manifest': "build/gcc-b2g.manifest",
+ 'sixgill_manifest': "build/sixgill.manifest",
+
+ # Mock.
+ "mock_packages": [
+ "autoconf213", "mozilla-python27-mercurial", "ccache",
+ "zip", "zlib-devel", "glibc-static",
+ "openssh-clients", "mpfr", "wget", "rsync",
+
+ # For building the JS shell
+ "gmp-devel", "nspr", "nspr-devel",
+
+ # For building the browser
+ "dbus-devel", "dbus-glib-devel", "hal-devel",
+ "libICE-devel", "libIDL-devel",
+
+ # For mach resource-usage
+ "python-psutil",
+
+ 'zip', 'git',
+ 'libstdc++-static', 'perl-Test-Simple', 'perl-Config-General',
+ 'gtk2-devel', 'libnotify-devel', 'yasm',
+ 'alsa-lib-devel', 'libcurl-devel',
+ 'wireless-tools-devel', 'libX11-devel',
+ 'libXt-devel', 'mesa-libGL-devel',
+ 'gnome-vfs2-devel', 'GConf2-devel', 'wget',
+ 'mpfr', # required for system compiler
+ 'xorg-x11-font*', # fonts required for PGO
+ 'imake', # required for makedepend!?!
+ 'pulseaudio-libs-devel',
+ 'freetype-2.3.11-6.el6_1.8.x86_64',
+ 'freetype-devel-2.3.11-6.el6_1.8.x86_64',
+ 'gstreamer-devel', 'gstreamer-plugins-base-devel',
+ ],
+ "mock_files": [
+ ("/home/cltbld/.ssh", "/home/mock_mozilla/.ssh"),
+ ('/home/cltbld/.hgrc', '/builds/.hgrc'),
+ ('/builds/relengapi.tok', '/builds/relengapi.tok'),
+ ("/tools/tooltool.py", "/tools/tooltool.py"),
+ ('/usr/local/lib/hgext', '/usr/local/lib/hgext'),
+ ],
+ "env_replacements": {
+ "pythondir": PYTHON_DIR,
+ "gccdir": "%(abs_work_dir)s/gcc",
+ "sixgilldir": "%(abs_work_dir)s/sixgill",
+ },
+ "partial_env": {
+ "PATH": "%(pythondir)s/bin:%(gccdir)s/bin:%(PATH)s",
+ "LD_LIBRARY_PATH": "%(sixgilldir)s/usr/lib64",
+
+ # Suppress the mercurial-setup check. When running in automation, this
+ # is redundant with MOZ_AUTOMATION, but a local developer-mode build
+ # will have the mach state directory set to a nonstandard location and
+ # therefore will always claim that mercurial-setup has not been run.
+ "I_PREFER_A_SUBOPTIMAL_MERCURIAL_EXPERIENCE": "1",
+ },
+}