Closed Bug 1783959 Opened 3 years ago Closed 3 years ago

mach run --enable-fission option doesn't work for GeckoViewExample

Categories

(Developer Infrastructure :: Developer Environment Integration, defect)

All
Android
defect

Tracking

(firefox-esr91 wontfix, firefox-esr102 wontfix, firefox103 wontfix, firefox104 wontfix, firefox105 fixed)

RESOLVED FIXED
105 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox-esr102 --- wontfix
firefox103 --- wontfix
firefox104 --- wontfix
firefox105 --- fixed

People

(Reporter: hiro, Assigned: m_kato)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

UnboundLocalError: local variable 'target_profile' referenced before assignment

File "/home/hiro/android/python/mozbuild/mozbuild/mach_commands.py", line 1326, in run
return _run_android(command_context, **kwargs)
File "/home/hiro/android/python/mozbuild/mozbuild/mach_commands.py", line 1437, in _run_android
args = ["--profile", shlex_quote(target_profile)]

Component: GeckoViewExample → Developer Environment Integration
Product: GeckoView → Firefox Build System
Regressions: 1581971

I don't know why args = ["--profile", shlex_quote(target_profile)] is moved to other block.

Assignee: nobody → m_kato

This is regression by bug 1581971.

When using custom profile to run GVE via ./mach run --profile <directory>,
we add "--profile" argument on adb. But, after landing bug 1581971, we
don't pass any profile arguments unfortunately.

So we should add it to use custom profile.

Also, This fixes that ./mach run --enable-fission is broken. We don't need
--profile argument to run GVE with fission.

Regressed by: 1581971
No longer regressions: 1581971

Set release status flags based on info from the regressing bug 1581971

Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/d4830bfab9b2 Add --profile argument when using custom profile. r=firefox-build-system-reviewers,glandium
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: