mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1563053 - Put all Android PGO outputs in a separate directory; r=firefox-build-system-reviewers,chmanchester
If we end up generating multiple profraw files in the future, it will help to have them all in a separate directory so that we can just 'adb pull' the whole directory at once. Depends on D36839 Differential Revision: https://phabricator.services.mozilla.com/D36840 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
d77d483c53
commit
285be9abcc
@ -13,5 +13,5 @@ config = {
|
||||
'install',
|
||||
'run-tests',
|
||||
],
|
||||
"output_directory": "/sdcard",
|
||||
"output_directory": "/sdcard/pgo_profile",
|
||||
}
|
||||
|
@ -201,7 +201,7 @@ class AndroidProfileRun(TestingMixin, BaseScript, MozbaseMixin,
|
||||
# bool pref.
|
||||
prefs["browser.tabs.remote.autostart"] = False
|
||||
|
||||
outputdir = self.config.get('output_directory', '/sdcard')
|
||||
outputdir = self.config.get('output_directory', '/sdcard/pgo_profile')
|
||||
jarlog = posixpath.join(outputdir, 'en-US.log')
|
||||
profdata = posixpath.join(outputdir, 'default.profraw')
|
||||
|
||||
@ -213,6 +213,7 @@ class AndroidProfileRun(TestingMixin, BaseScript, MozbaseMixin,
|
||||
|
||||
adbdevice = ADBDevice(adb=adb,
|
||||
device='emulator-5554')
|
||||
adbdevice.mkdir(outputdir)
|
||||
|
||||
try:
|
||||
# Run Fennec a first time to initialize its profile
|
||||
|
Loading…
Reference in New Issue
Block a user