Bug 1252976 - Follow up, Update Note on Artifact Mode, r=nalexander
authorTimothy Guan-tin Chien <timdream@gmail.com>
Mon, 08 Aug 2016 17:54:24 +0800
changeset 308827 6af03871248e7c9841d02d8af38ad9a1b2b7f5a2
parent 308826 dbcad237aa05b3514260b2fdcb7600b56659ce9c
child 308828 10159ae9f4999a30952f17035c914bc0399e9231
push id20279
push usercbook@mozilla.com
push dateWed, 10 Aug 2016 14:04:43 +0000
treeherderfx-team@531100c1d950 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1252976
milestone51.0a1
Bug 1252976 - Follow up, Update Note on Artifact Mode, r=nalexander Contains a few sentences copied from MDN. MozReview-Commit-ID: 2wgcCNiWkWw
python/mozboot/mozboot/bootstrap.py
--- a/python/mozboot/mozboot/bootstrap.py
+++ b/python/mozboot/mozboot/bootstrap.py
@@ -24,51 +24,57 @@ from mozboot.mozillabuild import Mozilla
 from mozboot.util import (
     get_state_dir,
 )
 
 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.
+
+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".
 
-Firefox for Android is built on top of the Gecko technology
-platform. 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".
+Similarly, if you want to work on the look-and-feel of Firefox for Android,
+you want "Firefox for Android Artifact Mode".
 
-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.
+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 Desktop", or
+"Firefox for Android".
+
+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.
 
 Your choice:
 '''
 
 APPLICATIONS_LIST=[
+    ('Firefox for Desktop Artifact Mode', 'browser_artifact_mode'),
     ('Firefox for Desktop', 'browser'),
-    ('Firefox for Desktop Artifact Mode', 'browser_artifact_mode'),
     ('Firefox for Android Artifact Mode', 'mobile_android_artifact_mode'),
     ('Firefox for Android', 'mobile_android'),
 ]
 
 # 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],
 )
 
 STATE_DIR_INFO = '''
 The Firefox build system and related tools store shared, persistent state
 in a common directory on the filesystem. On this machine, that directory
 is: