Open Bug 1949986 Opened 10 months ago

Add sudoedit-style command to mach for editing GeckoView config.yaml

Categories

(Firefox Build System :: General, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: tcampbell, Unassigned)

Details

https://firefox-source-docs.mozilla.org/mobile/android/geckoview/consumer/automation.html#reading-configuration-from-a-file

GeckoView has a developer config file for setting prefs/env via a special file that can be installed by adb push. As developer convenience, we should add a sudoedit-style command for editing this file.

Steps:

  • pull existing file from device/emu to local temp file
  • provide template file if missing
  • open VISUAL/EDITOR editor on the temp file
  • when saved, push back to the device
  • call am set-debug-app (unless a flag is set to not)
You need to log in before you can comment on or make changes to this bug.