Open Bug 1664520 Opened 4 years ago Updated 3 years ago

Mismatch between docs and script for GV build command when substituting local GV in ac/fenix

Categories

(GeckoView :: General, task, P3)

Unspecified
All
task

Tracking

(Not tracked)

People

(Reporter: mcomella, Unassigned)

Details

When substituting a local GV in fenix or a-c, the docs say I should run:

cd /path/to/mozilla-central && ./mach build
cd /path/to/project && ./gradlew assembleDebug

To consume the local ac. However, when I execute a build, the script will log:

[substitute-local-geckoview] To update the local GeckoView, run ./mach build binaries & & ./mach gradle geckoview:publishWithGeckoBinariesDebugPublicationToMavenRepository in
/Users/mcomella/dev/mozilla-central

The suggested commands are different: which one is correct? We should update both accordingly.

./mach build binaries & & ./mach gradle geckoview:publishWithGeckoBinariesDebugPublicationToMavenRepository should be the correct one, I'll update the docs.

Actually :nalexander mentioned that ./mach build is the better option, so let's go with that.

Priority: -- → P3
Severity: -- → N/A
Type: defect → task
You need to log in before you can comment on or make changes to this bug.