Open Bug 1558102 Opened 7 years ago Updated 1 year ago

Run Android emulator as headless mode

Categories

(Firefox Build System :: Android Studio and Gradle Integration, enhancement, P5)

Unspecified
Android
enhancement

Tracking

(Not tracked)

People

(Reporter: m_kato, Unassigned)

References

(Depends on 1 open bug)

Details

Actually, Android emulator has -no-window, -no-audio and -no-skin to run headless mode. I am happy to add this option when using ./mach run or etc with --headless? option.

Since emulator 28.0.25 there is also emulator-headless and I think there may be additional headless emulator improvements on the way.

Currently we do not use any headless options in continuous integration. When running the emulator locally with mach, I definitely want the default to be non-headless, so that folks get immediate visual feedback of problems running Firefox, etc. I could see adding a --headless option for 'mach android-emulator', 'mach run', 'mach test', etc, but I don't see much advantage to that personally.

An alternative approach to consider: allow passing arbitrary arguments to the emulator from mach commands. That might be more future-proof with respect to evolving emulator arguments, features, and capabilities.

The priority flag is not set for this bug.
:nalexander, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(nalexander)

(In reply to Release mgmt bot [:sylvestre / :calixte / :marco for bugbug] from comment #2)

The priority flag is not set for this bug.
:nalexander, could you have a look please?

For more information, please visit auto_nag documentation.

P3: backlog. Happy to take a patch.

Type: defect → enhancement
Flags: needinfo?(nalexander)
Priority: -- → P3
Product: Firefox for Android → Firefox Build System
Severity: normal → S3
Depends on: 1782793
Duplicate of this bug: 1827313
Priority: P3 → P5
You need to log in before you can comment on or make changes to this bug.