diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /b2g/dev | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-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 'b2g/dev')
-rw-r--r-- | b2g/dev/app.mozbuild | 21 | ||||
-rw-r--r-- | b2g/dev/app/moz.build | 15 | ||||
-rw-r--r-- | b2g/dev/app/mulet.js | 20 | ||||
-rw-r--r-- | b2g/dev/build.mk | 6 | ||||
-rw-r--r-- | b2g/dev/config/mozconfigs/linux64/mulet | 10 | ||||
-rw-r--r-- | b2g/dev/config/mozconfigs/linux64/mulet-hazards | 13 | ||||
-rw-r--r-- | b2g/dev/config/mozconfigs/linux64/mulet_dbg | 14 | ||||
-rw-r--r-- | b2g/dev/config/mozconfigs/macosx64/mulet | 27 | ||||
-rw-r--r-- | b2g/dev/config/mozconfigs/win32/mulet | 13 | ||||
-rw-r--r-- | b2g/dev/config/tooltool-manifests/linux64/hazard.manifest | 48 | ||||
-rw-r--r-- | b2g/dev/config/tooltool-manifests/linux64/releng.manifest | 48 | ||||
-rw-r--r-- | b2g/dev/config/tooltool-manifests/macosx64/releng.manifest | 24 | ||||
-rw-r--r-- | b2g/dev/config/tooltool-manifests/win32/releng.manifest | 22 | ||||
-rw-r--r-- | b2g/dev/confvars.sh | 12 | ||||
-rw-r--r-- | b2g/dev/moz.configure | 9 |
15 files changed, 302 insertions, 0 deletions
diff --git a/b2g/dev/app.mozbuild b/b2g/dev/app.mozbuild new file mode 100644 index 000000000..041991547 --- /dev/null +++ b/b2g/dev/app.mozbuild @@ -0,0 +1,21 @@ +# vim: set filetype=python: +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +include('/toolkit/toolkit.mozbuild') + +if CONFIG['MOZ_EXTENSIONS']: + DIRS += ['/extensions'] + +DIRS += ['/%s' % CONFIG['MOZ_BRANDING_DIRECTORY']] + +DIRS += [ + '/b2g/chrome', + '/b2g/components', + '/b2g/dev/app', + + # Never add dirs after browser because they apparently won't get + # packaged properly on Mac. + '/browser', +] diff --git a/b2g/dev/app/moz.build b/b2g/dev/app/moz.build new file mode 100644 index 000000000..2f162d7e9 --- /dev/null +++ b/b2g/dev/app/moz.build @@ -0,0 +1,15 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +DIST_SUBDIR = 'browser' +export('DIST_SUBDIR') + +JS_PREFERENCE_PP_FILES += [ + '../../app/b2g.js', +] + +JS_PREFERENCE_FILES += [ + 'mulet.js', +] + diff --git a/b2g/dev/app/mulet.js b/b2g/dev/app/mulet.js new file mode 100644 index 000000000..7be519855 --- /dev/null +++ b/b2g/dev/app/mulet.js @@ -0,0 +1,20 @@ +// Automatically open b2g in a tab +pref("browser.startup.homepage", "chrome://b2g/content/shell.html"); + +// Disable some painful behavior of fx +pref("startup.homepage_welcome_url", ""); +pref("browser.shell.checkDefaultBrowser", ""); +pref("browser.sessionstore.max_tabs_undo", 0); +pref("browser.sessionstore.max_windows_undo", 0); +pref("browser.sessionstore.restore_on_demand", false); +pref("browser.sessionstore.resume_from_crash", false); + +// Display the devtools on the right of the phone +pref("devtools.toolbox.host", "side"); +pref("devtools.toolbox.sidebar.width", 800); + +// Disable e10s as we don't want to run shell.html, +// nor the system app OOP, but only inner apps +pref("browser.tabs.remote.autostart", false); +pref("browser.tabs.remote.autostart.1", false); +pref("browser.tabs.remote.autostart.2", false); diff --git a/b2g/dev/build.mk b/b2g/dev/build.mk new file mode 100644 index 000000000..daa4e7ac2 --- /dev/null +++ b/b2g/dev/build.mk @@ -0,0 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +include $(topsrcdir)/browser/build.mk + diff --git a/b2g/dev/config/mozconfigs/linux64/mulet b/b2g/dev/config/mozconfigs/linux64/mulet new file mode 100644 index 000000000..4aaa6b78d --- /dev/null +++ b/b2g/dev/config/mozconfigs/linux64/mulet @@ -0,0 +1,10 @@ +MOZ_AUTOMATION_L10N_CHECK=0 +MOZ_AUTOMATION_UPLOAD_SYMBOLS=0 +MOZ_AUTOMATION_UPDATE_PACKAGING=0 +MOZ_AUTOMATION_SDK=0 +. "$topsrcdir/browser/config/mozconfigs/linux64/nightly" + +ac_add_options --enable-application=b2g/dev + +# Include Firefox OS fonts. +MOZTTDIR=$topsrcdir/moz-tt diff --git a/b2g/dev/config/mozconfigs/linux64/mulet-hazards b/b2g/dev/config/mozconfigs/linux64/mulet-hazards new file mode 100644 index 000000000..2c3609c99 --- /dev/null +++ b/b2g/dev/config/mozconfigs/linux64/mulet-hazards @@ -0,0 +1,13 @@ +MOZ_AUTOMATION_L10N_CHECK=0 +MOZ_AUTOMATION_UPLOAD_SYMBOLS=0 +MOZ_AUTOMATION_UPDATE_PACKAGING=0 +MOZ_AUTOMATION_SDK=0 +. "$topsrcdir/browser/config/mozconfigs/linux64/nightly" + +ac_add_options --enable-application=b2g/dev +ac_add_options --with-compiler-wrapper=$TOOLTOOL_DIR/sixgill/usr/libexec/sixgill/scripts/wrap_gcc/basecc +ac_add_options --without-ccache +ac_add_options --disable-warnings-as-errors + +# Include Firefox OS fonts. +MOZTTDIR=$topsrcdir/moz-tt diff --git a/b2g/dev/config/mozconfigs/linux64/mulet_dbg b/b2g/dev/config/mozconfigs/linux64/mulet_dbg new file mode 100644 index 000000000..08baad0e9 --- /dev/null +++ b/b2g/dev/config/mozconfigs/linux64/mulet_dbg @@ -0,0 +1,14 @@ +MOZ_AUTOMATION_L10N_CHECK=0 +MOZ_AUTOMATION_UPLOAD_SYMBOLS=0 +MOZ_AUTOMATION_UPDATE_PACKAGING=0 +MOZ_AUTOMATION_SDK=0 +. "$topsrcdir/browser/config/mozconfigs/linux64/nightly" + +ac_add_options --enable-application=b2g/dev +ac_add_options --enable-debug +MOZ_DEMANGLE_SYMBOLS=1 +MOZ_DEBUG=1 +MOZ_DEBUG_SYMBOLS=1 + +# Include Firefox OS fonts. +MOZTTDIR=$topsrcdir/moz-tt diff --git a/b2g/dev/config/mozconfigs/macosx64/mulet b/b2g/dev/config/mozconfigs/macosx64/mulet new file mode 100644 index 000000000..b6f1338ca --- /dev/null +++ b/b2g/dev/config/mozconfigs/macosx64/mulet @@ -0,0 +1,27 @@ +MOZ_AUTOMATION_BUILD_SYMBOLS=0 +MOZ_AUTOMATION_PACKAGE_TESTS=0 +MOZ_AUTOMATION_UPLOAD_SYMBOLS=0 +MOZ_AUTOMATION_UPDATE_PACKAGING=0 +MOZ_AUTOMATION_SDK=0 +. $topsrcdir/build/macosx/mozconfig.common + +ac_add_options --enable-application=b2g/dev +ac_add_options --disable-install-strip +ac_add_options --enable-signmar +ac_add_options --enable-profiling +ac_add_options --enable-instruments +ac_add_options --enable-dtrace + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +ac_add_options --with-macbundlename-prefix=Firefox + +# Package js shell. +export MOZ_PACKAGE_JSSHELL=1 + +# Include Firefox OS fonts. +MOZTTDIR=$topsrcdir/moz-tt + +. "$topsrcdir/build/mozconfig.common.override" +. "$topsrcdir/build/mozconfig.cache" diff --git a/b2g/dev/config/mozconfigs/win32/mulet b/b2g/dev/config/mozconfigs/win32/mulet new file mode 100644 index 000000000..f5a43bd6a --- /dev/null +++ b/b2g/dev/config/mozconfigs/win32/mulet @@ -0,0 +1,13 @@ +MOZ_AUTOMATION_BUILD_SYMBOLS=0 +MOZ_AUTOMATION_L10N_CHECK=0 +MOZ_AUTOMATION_PACKAGE_TESTS=0 +MOZ_AUTOMATION_INSTALLER=0 +MOZ_AUTOMATION_UPLOAD_SYMBOLS=0 +MOZ_AUTOMATION_UPDATE_PACKAGING=0 +MOZ_AUTOMATION_SDK=0 +. "$topsrcdir/browser/config/mozconfigs/win32/nightly" + +ac_add_options --enable-application=b2g/dev + +# Include Firefox OS fonts. +MOZTTDIR=$topsrcdir/moz-tt diff --git a/b2g/dev/config/tooltool-manifests/linux64/hazard.manifest b/b2g/dev/config/tooltool-manifests/linux64/hazard.manifest new file mode 100644 index 000000000..10a722c43 --- /dev/null +++ b/b2g/dev/config/tooltool-manifests/linux64/hazard.manifest @@ -0,0 +1,48 @@ +[ +{ +"size" : 102421980, +"digest" : "f25292aa93dc449e0472eee511c0ac15b5f1a4272ab76cf53ce5d20dc57f29e83da49ae1a9d9e994192647f75e13ae60f75ba2ac3cb9d26d5f5d6cabf88de921", +"version" : "gcc 4.9.3", +"unpack" : true, +"filename" : "gcc.tar.xz", +"algorithm" : "sha512" +}, +{ +"unpack" : true, +"algorithm" : "sha512", +"filename" : "sixgill.tar.xz", +"hg_id" : "8cb9c3fb039a+ tip", +"digest" : "36dc644e24c0aa824975ad8f5c15714445d5cb064d823000c3cb637e885199414d7df551e6b99233f0656dcf5760918192ef04113c486af37f3c489bb93ad029", +"size" : 2631908 +}, +{ +"algorithm" : "sha512", +"filename" : "gtk3.tar.xz", +"setup" : "setup.sh", +"unpack" : true, +"digest" : "3915f8ec396c56a8a92e6f9695b70f09ce9d1582359d1258e37e3fd43a143bc974410e4cfc27f500e095f34a8956206e0ebf799b7287f0f38def0d5e34ed71c9", +"size" : 12072532 +}, +{ +"version": "rustc 1.13.0 (2c6933acc 2016-11-07) repack", +"size": 68921028, +"digest": "9a9ceccc02d4be445ffa64617683419a4f47990b1f2689980ac8db13d6369435ef4af1a3714d77377fb7b3b0ec213856ab7144ff22cbe0881d49aed44d82c0fc", +"algorithm": "sha512", +"filename": "rustc.tar.xz", +"unpack": true +}, +{ +"algorithm" : "sha512", +"filename" : "sccache.tar.bz2", +"unpack" : true, +"digest" : "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831", +"size" : 167175 +}, +{ +"filename" : "moz-tt.tar.bz2", +"algorithm" : "sha512", +"unpack" : true, +"digest" : "2dffe4e5419a0c0c9908dc52b01cc07379a42e2aa8481be7a26bb8750b586b95bbac3fe57e64f5d37b43e206516ea70ad938a2e45858fdcf1e28258e70ae8d8c", +"size" : 31078810 +} +] diff --git a/b2g/dev/config/tooltool-manifests/linux64/releng.manifest b/b2g/dev/config/tooltool-manifests/linux64/releng.manifest new file mode 100644 index 000000000..d356dbaa3 --- /dev/null +++ b/b2g/dev/config/tooltool-manifests/linux64/releng.manifest @@ -0,0 +1,48 @@ +[ +{ +"version": "gcc 4.9.3", +"size": 102421980, +"digest": "f25292aa93dc449e0472eee511c0ac15b5f1a4272ab76cf53ce5d20dc57f29e83da49ae1a9d9e994192647f75e13ae60f75ba2ac3cb9d26d5f5d6cabf88de921", +"algorithm": "sha512", +"filename": "gcc.tar.xz", +"unpack": true +}, +{ +"size": 12072532, +"digest": "3915f8ec396c56a8a92e6f9695b70f09ce9d1582359d1258e37e3fd43a143bc974410e4cfc27f500e095f34a8956206e0ebf799b7287f0f38def0d5e34ed71c9", +"algorithm": "sha512", +"filename": "gtk3.tar.xz", +"setup": "setup.sh", +"unpack": true +}, +{ +"version": "rustc 1.13.0 (2c6933acc 2016-11-07) repack", +"size": 68921028, +"digest": "9a9ceccc02d4be445ffa64617683419a4f47990b1f2689980ac8db13d6369435ef4af1a3714d77377fb7b3b0ec213856ab7144ff22cbe0881d49aed44d82c0fc", +"algorithm": "sha512", +"filename": "rustc.tar.xz", +"unpack": true +}, +{ +"version": "cargo 0.13.0-nightly (eca9e15 2016-11-01) repack", +"size": 3027932, +"digest": "a5c99eeb12b3b9b49632c259c762e34ec13cf72dadf90a0608b8ab1dc66b36cb114c5b45f71d326e12d31d9e88a41b029e6a728ca64cef392c0a8d211c2fe191", +"algorithm": "sha512", +"filename": "cargo.tar.xz", +"unpack": true +}, +{ +"size": 167175, +"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831", +"algorithm": "sha512", +"filename": "sccache.tar.bz2", +"unpack": true +}, +{ +"size": 31078810, +"digest": "2dffe4e5419a0c0c9908dc52b01cc07379a42e2aa8481be7a26bb8750b586b95bbac3fe57e64f5d37b43e206516ea70ad938a2e45858fdcf1e28258e70ae8d8c", +"algorithm": "sha512", +"filename": "moz-tt.tar.bz2", +"unpack": true +} +] diff --git a/b2g/dev/config/tooltool-manifests/macosx64/releng.manifest b/b2g/dev/config/tooltool-manifests/macosx64/releng.manifest new file mode 100644 index 000000000..33158d8dc --- /dev/null +++ b/b2g/dev/config/tooltool-manifests/macosx64/releng.manifest @@ -0,0 +1,24 @@ +[ +{ +"version": "clang 3.8.0", +"size": 133060926, +"digest": "aff5ad3ac2d41db19d1ba0df5f97b189a7d7e1b6af8c56e22c2b0cced84d75fa98394ded6a4ba5713652e6684a0a46f47aeccf87991f9e849bf8d7d82e564f6f", +"algorithm": "sha512", +"filename": "clang.tar.bz2", +"unpack": true +}, +{ +"size": 167175, +"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831", +"algorithm": "sha512", +"filename": "sccache.tar.bz2", +"unpack": true +}, +{ +"size": 31078810, +"digest": "2dffe4e5419a0c0c9908dc52b01cc07379a42e2aa8481be7a26bb8750b586b95bbac3fe57e64f5d37b43e206516ea70ad938a2e45858fdcf1e28258e70ae8d8c", +"algorithm": "sha512", +"filename": "moz-tt.tar.bz2", +"unpack": true +} +] diff --git a/b2g/dev/config/tooltool-manifests/win32/releng.manifest b/b2g/dev/config/tooltool-manifests/win32/releng.manifest new file mode 100644 index 000000000..a5f5e436a --- /dev/null +++ b/b2g/dev/config/tooltool-manifests/win32/releng.manifest @@ -0,0 +1,22 @@ +[ +{ +"size": 266240, +"digest": "bb345b0e700ffab4d09436981f14b5de84da55a3f18a7f09ebc4364a4488acdeab8d46f447b12ac70f2da1444a68b8ce8b8675f0dae2ccf845e966d1df0f0869", +"algorithm": "sha512", +"filename": "mozmake.exe" +}, +{ +"size": 167175, +"digest": "0b71a936edf5bd70cf274aaa5d7abc8f77fe8e7b5593a208f805cc9436fac646b9c4f0b43c2b10de63ff3da671497d35536077ecbc72dba7f8159a38b580f831", +"algorithm": "sha512", +"filename": "sccache.tar.bz2", +"unpack": true +}, +{ +"size": 31078810, +"digest": "2dffe4e5419a0c0c9908dc52b01cc07379a42e2aa8481be7a26bb8750b586b95bbac3fe57e64f5d37b43e206516ea70ad938a2e45858fdcf1e28258e70ae8d8c", +"algorithm": "sha512", +"filename": "moz-tt.tar.bz2", +"unpack": true +} +] diff --git a/b2g/dev/confvars.sh b/b2g/dev/confvars.sh new file mode 100644 index 000000000..4fb0b58a1 --- /dev/null +++ b/b2g/dev/confvars.sh @@ -0,0 +1,12 @@ +#! /bin/sh +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +MOZ_B2G=1 +MOZ_MULET=1 + +. ${srcdir}/browser/confvars.sh + +MOZ_BUNDLED_FONTS=1 +MOZ_UA_OS_AGNOSTIC=1 diff --git a/b2g/dev/moz.configure b/b2g/dev/moz.configure new file mode 100644 index 000000000..d1b944eb5 --- /dev/null +++ b/b2g/dev/moz.configure @@ -0,0 +1,9 @@ +# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +imply_option('MOZ_SERVICES_SYNC', True) + +include('../common.configure') |