From 20b7d7294490937f5ec6fafaa7c5317e1479e9f4 Mon Sep 17 00:00:00 2001 From: Timothy Guan-tin Chien Date: Mon, 8 Aug 2016 17:54:24 +0800 Subject: [PATCH] Bug 1252976 - Follow up, Update Note on Artifact Mode, r=nalexander Contains a few sentences copied from MDN. MozReview-Commit-ID: 2wgcCNiWkWw --HG-- extra : transplant_source : %7B%A2%10%88%83k%AC%AE%D3%A4H/pL%E6%B9%BE-9%5E --- python/mozboot/mozboot/bootstrap.py | 36 +++++++++++++++++------------ 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/python/mozboot/mozboot/bootstrap.py b/python/mozboot/mozboot/bootstrap.py index f140e4522713..43f43eb6f924 100644 --- a/python/mozboot/mozboot/bootstrap.py +++ b/python/mozboot/mozboot/bootstrap.py @@ -29,22 +29,28 @@ APPLICATION_CHOICE = ''' Please choose the version of Firefox you want to build: %s -Note: (For Firefox for Android) +Note on Artifact Mode: -The Firefox for Android front-end is built using Java, the Android -Platform SDK, JavaScript, HTML, and CSS. If you want to work on the -look-and-feel of Firefox for Android, you want "Firefox for Android -Artifact Mode". +Firefox for Desktop and Android supports a fast build mode called +artifact mode. Artifact mode downloads pre-built C++ components rather +than building them locally, trading bandwidth for time. -Firefox for Android is built on top of the Gecko technology -platform. Gecko is Mozilla's web rendering engine, similar to Edge, +Artifact builds will be useful to many developers who are not working +with compiled code. If you want to work on look-and-feel of Firefox, +you want "Firefox for Desktop Artifact Mode". + +Similarly, if you want to work on the look-and-feel of Firefox for Android, +you want "Firefox for Android Artifact Mode". + +To work on the Gecko technology platform, you would need to opt to full, +non-artifact mode. Gecko is Mozilla's web rendering engine, similar to Edge, Blink, and WebKit. Gecko is implemented in C++ and JavaScript. If you -want to work on web rendering, you want "Firefox for Android". +want to work on web rendering, you want "Firefox for Desktop", or +"Firefox for Android". -If you don't know what you want, start with just "Firefox for Android -Artifact Mode". Your builds will be much shorter than if you build -Gecko as well. But don't worry! You can always switch configurations -later. +If you don't know what you want, start with just Artifact Mode of the desired +platform. Your builds will be much shorter than if you build Gecko as well. +But don't worry! You can always switch configurations later. You can learn more about Artifact mode builds at https://developer.mozilla.org/en-US/docs/Artifact_builds. @@ -53,8 +59,8 @@ Your choice: ''' APPLICATIONS_LIST=[ - ('Firefox for Desktop', 'browser'), ('Firefox for Desktop Artifact Mode', 'browser_artifact_mode'), + ('Firefox for Desktop', 'browser'), ('Firefox for Android Artifact Mode', 'mobile_android_artifact_mode'), ('Firefox for Android', 'mobile_android'), ] @@ -62,8 +68,8 @@ APPLICATIONS_LIST=[ # This is a workaround for the fact that we must support python2.6 (which has # no OrderedDict) APPLICATIONS = dict( - browser=APPLICATIONS_LIST[0], - browser_artifact_mode=APPLICATIONS_LIST[1], + browser_artifact_mode=APPLICATIONS_LIST[0], + browser=APPLICATIONS_LIST[1], mobile_android_artifact_mode=APPLICATIONS_LIST[2], mobile_android=APPLICATIONS_LIST[3], )