Граф коммитов

185 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen c0977f07d3 Bug 1652075 - Update the minimum supported macOS version in the build docs. r=sylvestre
DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D83696
2020-07-17 09:49:32 +00:00
Ricky Stewart 231a4686ff Bug 925350 - Remove `dumbmake` r=nalexander
After bug 1651806, we're trying to caution people against running `mach build $A_SPECIFIC_TARGET` because it's not generally supported. `dumbmake` is a piece of infrastructure that attempts to make this use case a little bit more useable, but it was always supposed to be a stopgap. There doesn't seem to be a need for it any more.

Differential Revision: https://phabricator.services.mozilla.com/D83136
2020-07-10 18:12:07 +00:00
Nicholas Nethercote 977d5b8a57 Bug 1648348 - Create "Writing Rust Code" docs. r=froydnj,zbraniecki,lina.
This patch includes content from the following places.

- Lina's "Getting Rusty: How to ship an XPCOM component in Firefox" slide deck.
- Zibi's "Rust <--> C/C++ FFI for newbies" gist.

It also links to Emilio's "FFI patterns #1 - Complex Rust data structures
exposed seamlessly to C++" blog post. I was going to include that content, but
it's very long, so I have omitted it for now.

Differential Revision: https://phabricator.services.mozilla.com/D81963
2020-07-07 07:38:27 +00:00
Nicholas Nethercote 40c0751083 Bug 1648348 - Some more tweaks to the Rust build docs. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D81288
2020-07-07 07:38:02 +00:00
Mike Hommey 9c264b7cf2 Bug 1240930 - Move jar_maker to the misc tier. r=firefox-build-system-reviewers,geckoview-reviewers,rstewart,agi
Because jar_maker is not in the libs tier, we also rename the libs-%
targets for l10n repacks to l10n-%, which make it clearer what they are
for.

And because multilocale.txt is both a GeneratedFile and a file that is
generated (and installed) via manual build rules, keeping it in the misc
target actually breaks building in toolkit/locales during l10n repacks,
so move it to libs for now.

Differential Revision: https://phabricator.services.mozilla.com/D81766
2020-06-30 21:34:32 +00:00
Nicholas Nethercote e671bf0673 Bug 1647987 - Create Rust testing docs. r=froydnj.
Some of the testing info is from the Oxidation wiki, and the logging info is
largely from a dev-platform email by Valentin. The other parts I wrote from
scratch.

The commit also makes some small improvements to the Rust build docs.

Differential Revision: https://phabricator.services.mozilla.com/D81017
2020-06-26 01:04:40 +00:00
Nicholas Nethercote 51c5270b67 Bug 1646280 - Improve Rust build docs. r=froydnj
The added material comes from the Oxidation wiki's FAQ and the "Building
Firefox with Rust code" MDN page:
https://wiki.developer.mozilla.org/en-US/docs/Mozilla/Firefox/Building_Firefox_with_Rust_code

Once this commit lands, I will (a) remove the wiki FAQ entries, and (b) replace
the contents of that MDN page with a link to these build docs. There's no point
having overlapping docs, and in-tree is the best place for this information.

This commit also makes the capitalization of sub-headings more consistent.

Differential Revision: https://phabricator.services.mozilla.com/D79956
2020-06-23 05:01:23 +00:00
Nick Alexander 571c7fd42e Bug 1644046 - Get Sonatype nexus with fetch task rather than when building `android-build` image. r=froydnj
This brings the `android-build` image very close to other build
images, paving the way for it to be folded in completely.  It also
makes us more resilient in the face of upstream service interruptions.

Differential Revision: https://phabricator.services.mozilla.com/D78945
2020-06-15 16:29:30 +00:00
Mitchell Hentges 079ded8c2d Bug 1636251: document mach error reporting r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D78409
2020-06-11 20:38:18 +00:00
Dorel Luca 27321e1f00 Backed out 3 changesets (bug 1636251) for phyton failures in python/mach/mach/test/test_conditions.py. CLOSED TREE
Backed out changeset a033282e742d (bug 1636251)
Backed out changeset ce8cb6373f88 (bug 1636251)
Backed out changeset ae78c0a50575 (bug 1636251)
2020-06-11 19:49:44 +03:00
Mitchell Hentges 34d2e43294 Bug 1636251: document mach error reporting r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D78409
2020-06-10 19:50:59 +00:00
Mitchell Hentges ed90a04ad1 Bug 1632874: |mach bootstrap| should write mozconfig file if it doesn't exist r=rstewart
Rather than always printing instructions at the end of the bootstrap phase, we will now create a mozconfig
file if one doesn't exist and there's configuration to be written.

Differential Revision: https://phabricator.services.mozilla.com/D78417
2020-06-08 19:36:56 +00:00
Axel Hecht 1343d506c0 Bug 1641184, use only the merge dir for repacks, r=nalexander
l10n-merge creates a full merge dir for a while now, let's
simplify the build logic to only read from that directory
during repacks and langpacks.

Differential Revision: https://phabricator.services.mozilla.com/D77023
2020-05-27 17:04:06 +00:00
Sylvestre Ledru e2db40c369 Bug 1636499 - tier build doc - improve the wording (thanks david)
Differential Revision: https://phabricator.services.mozilla.com/D74441
2020-05-08 17:36:49 +00:00
Sylvestre Ledru 3f6e5b5d16 Bug 1636499 - tier build doc - polish the doc after import r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D74429
2020-05-08 17:22:40 +00:00
Sylvestre Ledru a2e9cfd308 Bug 1636499 - tier build doc - import the mdn page r=froydnj
https://developer.mozilla.org/docs/Mozilla/Supported_build_configurations

Depends on D74422

Differential Revision: https://phabricator.services.mozilla.com/D74427
2020-05-08 17:04:51 +00:00
Sylvestre Ledru 8455797365 Bug 1636499 - Remove a (very) outdated page r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D74422
2020-05-08 16:48:28 +00:00
Ricky Stewart 2ce561dd99 Bug 1635514 - Delete tup CI/configure stuff r=froydnj
This includes scripts that involve `tup`, jobs that build `tup` in automation, `tup.configure`, and related infrastructure and documentation.

Differential Revision: https://phabricator.services.mozilla.com/D73921
2020-05-05 18:34:16 +00:00
JulianWels 6e54cc8465 Bug 1616522 - Added mochitest documentation for https-tests. r=ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D63628

--HG--
extra : moz-landing-system : lando
2020-02-21 14:32:05 +00:00
Chris Manchester 7335e6b9ad Bug 1578493 - Don't use ~ in doc examples where tilde expansion no longer occurs. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D63357

--HG--
extra : moz-landing-system : lando
2020-02-19 18:24:25 +00:00
Chris Manchester 0daada8368 Bug 1611231 - Add a note about rewrite_includes_only to sccache-dist docs. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60879

--HG--
extra : moz-landing-system : lando
2020-01-23 21:58:52 +00:00
shindli 26374765cb Backed out 2 changesets (bug 1611231) for causing a linting falure in /builds/worker/checkouts/gecko/build/docs/sccache-dist.rst CLOSED TREE
Backed out changeset c38aab2ba30b (bug 1611231)
Backed out changeset 278f992ad76d (bug 1611231)
2020-01-23 23:02:38 +02:00
Chris Manchester 5b0fdb451b Bug 1611231 - Add a note about rewrite_includes_only to sccache-dist docs. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60879

--HG--
extra : moz-landing-system : lando
2020-01-23 20:46:42 +00:00
Mike Shal 25308d30a2 Bug 1563403 - Use 3-tier PGO for local MOZ_PGO=1 builds; r=firefox-build-system-reviewers,dmajor,chmanchester
Local PGO builds now use 3-tier machinery under the hood. Instead of a
single object directory that gets cleaned in between the instrumented
and profile-use builds, now the instrumented build uses a separate
'${objdir}/instrumented' directory. This makes it easier to handle
within mach since we can drive the two builds with environment variables
and keep all build artifacts separate, without needing to do manual
cleanup in between.

Differential Revision: https://phabricator.services.mozilla.com/D50098

--HG--
extra : moz-landing-system : lando
2019-12-06 01:07:32 +00:00
Axel Hecht 60e0566e34 Bug 1601249, update l10n-related build documentation, r=flod
This fixes quite a bit of historical baggage, and also goes
into a bit more details of what the l10n repacks actually do.

Differential Revision: https://phabricator.services.mozilla.com/D55807

--HG--
extra : moz-landing-system : lando
2019-12-05 13:44:22 +00:00
Axel Hecht abdae0cda5 Bug 1599045, part 2 - merge compare-locales docs into build docs, r=flod
The "Localization" docs in tools/compare-locales are really mostly
build, so merging that content into the builds doc.

Removing Android parts, add Fluent there, noting DTD deprecation.

Moving the glossary to the actual l10n docs.

With proper top-level structure, show 2 levels of l10n and intl
on the front-matter page.

Differential Revision: https://phabricator.services.mozilla.com/D55126

--HG--
rename : tools/compare-locales/docs/glossary.rst => intl/l10n/docs/glossary.rst
extra : moz-landing-system : lando
2019-12-03 15:43:10 +00:00
Nathan Froyd a936a0c98f Bug 1599110 - fix bubblewrap version requirement; r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D54523

--HG--
extra : moz-landing-system : lando
2019-12-02 13:19:19 +00:00
Chris Manchester f93b9722b0 Bug 1578493 - Update sccache-dist docs to cover Windows. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D49796

--HG--
extra : moz-landing-system : lando
2019-10-25 20:05:05 +00:00
Andreea Pavel 6c0393c694 Backed out changeset a6ce865567bb (bug 1578493) for lint failure on a CLOSED TREE 2019-10-25 23:01:09 +03:00
Chris Manchester 7c5af2010a Bug 1578493 - Update sccache-dist docs to cover Windows. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D49796

--HG--
extra : moz-landing-system : lando
2019-10-25 18:18:25 +00:00
Jan-Erik Rediger 01214b105d Bug 1590323 - Give spreadsheet link a proper name r=firefox-build-system-reviewers,chmanchester
"here" is a bad click target, giving it a proper name helps everyone.

Depends on D50035

Differential Revision: https://phabricator.services.mozilla.com/D50036

--HG--
extra : moz-landing-system : lando
2019-10-22 20:16:45 +00:00
Jan-Erik Rediger 97216bc03d Bug 1590323 - Document additional macOS config for sccache-dist build r=firefox-build-system-reviewers,johannh,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D50035

--HG--
extra : moz-landing-system : lando
2019-10-22 20:35:10 +00:00
Dorel Luca b6eeb7d5d3 Backed out changeset 35d4451f348d (bug 1588458) as requested by the dev 2019-10-15 19:04:22 +03:00
Sylvestre Ledru 0f71aeba53 Bug 1588458 - Replace dxr by searchfox in the doc r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49140

--HG--
extra : moz-landing-system : lando
2019-10-15 15:27:13 +00:00
Chris Manchester 0498c437c9 Bug 1578493 - Updates to sccache-dist docs. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47836

--HG--
extra : moz-landing-system : lando
2019-10-02 20:56:52 +00:00
Chris Manchester 4991e899e4 Bug 1578493 - Mention scheduler url in server setup section and bump suggested version in sccache-dist docs. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D45282

--HG--
extra : moz-landing-system : lando
2019-09-10 16:03:04 +00:00
Chris Manchester 5ac1f64990 Bug 1578493 - Suggest using an sccache-dist binary from automation in our docs. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D44577

--HG--
extra : moz-landing-system : lando
2019-09-03 23:12:51 +00:00
Chris Manchester 358a3fb5f1 Bug 1578493 - Fix sccache-dist docs to mention port for builders and remove unused email. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D44530

--HG--
extra : moz-landing-system : lando
2019-09-03 20:49:44 +00:00
Chris Manchester 37a0bb26bb Bug 1576737 - Add sccache-dist in offices docs to the tree. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D43531

--HG--
extra : moz-landing-system : lando
2019-08-27 22:10:54 +00:00
Nicholas Nethercote 4e52c0f072 Bug 1573080 - Fix some incorrect preprocessor.py docs. r=glandium
As shown by python/mozbuild/mozbuild/test/test_preprocessor.py, whitespace is
allowed within expressions, and chained #if/#elif/#else sequences work as you'd
expect.

Differential Revision: https://phabricator.services.mozilla.com/D41494

--HG--
extra : moz-landing-system : lando
2019-08-13 22:20:04 +00:00
Kartikaya Gupta 721a5dbcf4 Bug 1558598 - Ensure mozinfo correctly detects WebRender. r=ahal
I don't know if this covers all the things that use mozinfo (probably not)
but it covers all the suites that use mozinfo and have webrender conditions
in the test manifests (i.e. mochitest and wpt variants).

Differential Revision: https://phabricator.services.mozilla.com/D35869

--HG--
extra : moz-landing-system : lando
2019-06-29 09:51:14 +00:00
championshuttler e2b2c11969 Bug 1536103 - Fix Sphinx Warning - Title Underline too short in 'mach doc' (2). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35309

--HG--
extra : moz-landing-system : lando
2019-06-25 12:02:51 +00:00
Wes Kocher dca287e7da Bug 1560077 - Fix typo in sparse checkout docs
Differential Revision: https://phabricator.services.mozilla.com/D35299

--HG--
extra : moz-landing-system : lando
2019-06-19 05:24:56 +00:00
Chris Manchester 18f1db845b Bug 1526072 - Add build attributes to documentation. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D23748

--HG--
extra : moz-landing-system : lando
2019-03-27 22:48:24 +00:00
Noemi Erli 6269026d4e Backed out 4 changesets (bug 1526072) for causing build bustages in test_clobber.py CLOSED TREE
Backed out changeset d3d56eca307f (bug 1526072)
Backed out changeset 37942b0f911b (bug 1526072)
Backed out changeset a0eb0f43c928 (bug 1526072)
Backed out changeset c1d1576431d7 (bug 1526072)
2019-03-27 22:51:22 +02:00
Chris Manchester db5bd105a0 Bug 1526072 - Add build attributes to documentation. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D23748

--HG--
extra : moz-landing-system : lando
2019-03-19 20:58:34 +00:00
Johann Hofmann cd3d3a8ab7 Bug 1456089 - Make a tutorial out of the genpgocerts.py README. r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D20178

--HG--
extra : moz-landing-system : lando
2019-02-25 21:06:41 +00:00
Kris Maglione a34d453ee8 Bug 1524688: Part 1a - Support static registration JS components. r=mccr8
--HG--
extra : source : 68eb174a337b20e64583ae8afd45d479a3f54b61
2019-01-29 17:46:27 -08:00
Coroiu Cristina bf6382c227 Backed out 2 changesets (bug 1524688) for build bustages at build/src/obj-firefox/xpcom/components/StaticComponents.cpp on a CLOSED TREE
Backed out changeset 042a975d3971 (bug 1524688)
Backed out changeset abaf68fe399b (bug 1524688)
2019-02-15 01:00:33 +02:00
Kris Maglione d3be4ca8de Bug 1524688: Part 1a - Support static registration JS components. r=mccr8
--HG--
extra : source : 68eb174a337b20e64583ae8afd45d479a3f54b61
2019-01-29 17:46:27 -08:00